Chromium Code Reviews
DescriptionAvoid WTF::Vector::at() and operator[] in core/xml.
at() and operator[] are slow due to RELEASE_ASSERT. We can avoid the slowness by
range-based |for|.
This CL has no behavior changes except runtime performance.
BUG=668300
Committed: https://crrev.com/c02417a9281de18ce956313d8b893a328c85f605
Cr-Commit-Position: refs/heads/master@{#437202}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||