DescriptionMove caching out of LiveNodeListBase and into a new CollectionIndexCache class.
This improves Bindings/node-list-access.html's score by 4-5% on my Linux
desktop. This is due to CollectionIndexCache being templated, which gets rid of
isLiveNodeListType() branches in hot code paths.
Further separation between LiveNodeList / HTMLCollection can be done but I kept
this patch minimal to facilitate review.
This patch is based on WebKit r158758 by <antti@apple.com>.
R=adamk, esprehn
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166261
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #
Messages
Total messages: 33 (0 generated)
|