Chromium Code Reviews
DescriptionImprove performance to remove an OPTION from a SELECT element.
This CL optimize HTMLSelectElement::resetToDefaultSelection(). We can quit the
loop if a selected OPTION was removed.
Removing 20,000 OPTIONs: 7,595ms -> 6,358ms
BUG=620142, 624220
Committed: https://crrev.com/6aa050448c3f5a8e6749e059ec9ec62adb685a70
Cr-Commit-Position: refs/heads/master@{#402709}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||