DescriptionImprove rejection test for character-based SVG text queries
Perform an intersection of the involved ranges to reject fragments early,
while still avoiding calls to mapStartEndPositionsIntoFragmentCoordinates.
This means the "cache" added in https://codereview.chromium.org/349223003
can be dropped, since we'll now never even reach it. This gives a moderate
speed-up - a few percent - on the original TC compared to using the cache.
BUG=267504
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177148
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|