DescriptionAnimationTimeline::serviceAnimations should reserveInitialCapacity
Rather than reallocating the players vector, we can just reserve exactly the
correct capacity ahead of time. I didn't see these mallocs on a profile, but
this code is executed every frame during composited animations.
R=dstockwell@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177053
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|