DescriptionHave ElementRuleCollector keep match result vector as part object.
Simplify the representation of the matched results vector, keeping
the vector as a part object. The vector ends up being updated when
ElementRuleCollector is used, so lazily creating it gets in the
way of that. Not doing so also enables the prompt release of its
backing store with Oilpan, as it is an 'inline-capacity' vector.
In terms of performance, this brings Oilpan back on level terms
with non-Oilpan on blink_perf.layout:SimpleTextPathLineLayout,
undoing a 6% regression seen previously (linux.)
R=haraken@chromium.org,rune@opera.com
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187007
Patch Set 1 #Patch Set 2 : Clear vector in dtor instead #Patch Set 3 : Inline inline-capacity heap vector #Patch Set 4 : simplify, avoid Oilpan-specific rep #
Total comments: 2
Patch Set 5 : Remove a local binding #Messages
Total messages: 16 (3 generated)
|