DescriptionAllow efficient WebURL -> GURL conversions
This CL adds a constructor to GURL that takes a std::string instead of a char*
and a length. This constructor allows Blink to produce a temporary std::string
containing the URL's spec that we can move directly into the GURL, avoiding a
copy.
Once I update Blink, this constructor will help us avoid spending 5% of our
total time rendering http://sina.com.cn on KURL -> GURL conversions.
R=brettw
BUG=261412
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213885
Patch Set 1 #Patch Set 2 : Fix debug compile #Patch Set 3 : Elaborate comment #Messages
Total messages: 9 (0 generated)
|