Chromium Code Reviews
DescriptionOptimize Boundary Finding with Progressive Text Accumulation
When searching for boundaries, we ensure that each time |copyTextTo()|
is called, the length of text copied is bounded by the buffer capacity,
and hence, avoiding copying everything of a large text node all at once.
This is part of a bigger CL [1].
[1] https://codereview.chromium.org/1604783002
BUG=109587
TEST=n/a; no behavior change
Committed: https://crrev.com/0fb56f3c6fa1f13cd17e714217900b73c1b75c3d
Cr-Commit-Position: refs/heads/master@{#375565}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 1
Patch Set 4 : #
Messages
Total messages: 13 (7 generated)
|
|||||||||||||||||||||||||||||||||||||