DescriptionShrinking CSSParserToken for lower CSS parsing memory usage.
For 64-bit this shrinks CSSParserToken from 32 to 24 bytes. For 32-bit
this shrinks CSSParserToken from 24 to 20 bytes.
On typical sites (gmail, arstechnica) there are 300 KB stylesheets
which makes us preallocate room for 100,000 CSSParserTokens.
Allocation savings will then be 800 KB on 64-bit and 400 KB on
32-bit.
It does not cause any noticable performance change in any direction
on a workstation. Memory starved devices *might* benefit.
R=timloh@chromium.org
BUG=490185
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196134
Patch Set 1 : #
Total comments: 1
Patch Set 2 : Removed unused union members. #
Messages
Total messages: 8 (3 generated)
|