DescriptionUninline HTMLCollection / LiveNodeList's item() and length() member functions
Uninline HTMLCollection / LiveNodeList's item() and length() member functions
as these are big. Those call directly methods on CollectionIndexCache and all
of them are inlined.
This reduces the stripped release binary size by ~24Kb. I measured the impact
of this change on BrowserMark 2.1's DOM Search subtest (which tests this code
extensively) and it did not seem to regress:
- Before: 5785.4 +/- 0.8%
- After: 5835.4 +/- 1%
R=adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179852
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|