DescriptionOilpan: Introduce TempRangeScope to avoid needless Range attaches on Document.
In multiple places Ranges are used as short-lived subcomputation results.
These short-lived result objects are registered with the Document even
though they will be unreachable without any changes to the document.
With Oilpan this becomes a performance issue because we require a GC
for the Range objects to die and be removed from the set of ranges
on the Document and we end up spending quite a bit of time running
though ranges that need no updating. With the TempRangeScope we
avoid registering the temporary ranges with the document.
R=haraken@chromium.org, oilpan-reviews@chromium.org
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address review comments. #
Total comments: 8
Messages
Total messages: 13 (0 generated)
|