Chromium Code Reviews
DescriptionAvoid WTF::Vector::at() and operator[] in core/events.
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/3ef1f1798c1964f6f20b009971ee843b1ab02bc3
Cr-Commit-Position: refs/heads/master@{#437083}
Patch Set 1 : _ #
Messages
Total messages: 18 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||