Chromium Code Reviews
Description[url_utils] Implement a contiguous SchemeSet to replace vector<SchemeWithType>
This speeds up DoIsStandard by ~5x. This function is called from all
sorts of places, in both the browser process and renderer process.
A single load of facebook.com on desktop yielded around 17k of these
calls.
As a followup, we should wrap SchemeSet in Blink and use it for the
SchemeRegistry there (which is currently just using a map).
BUG=664174, 348655
Patch Set 1 #Patch Set 2 : separate SchemeSet for blink migration #
Messages
Total messages: 11 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||