[go: nahoru, domu]

CC Animation: Speed up AnimationTimeline PushPropertiesTo by using a hash map.

Use a hash map to store all the animation players for a given timeline.
This makes the average performance for PushPropertiesTo
to be O(n) instead of O(n^2).

Perf test: https://codereview.chromium.org/1679923004/
BUG=574859
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1680043002

Cr-Commit-Position: refs/heads/master@{#374326}
2 files changed