DescriptionOptimized HostPortPair::ToString and CookieMonster::GetAllCookiesForURLWithOptions.
- Removed GetFlattenedSpdyServer and replaced
its calls with host_port_pair.ToString().
- Optimized HostPortPair::ToString() by substituting StringPrintf with string concatenation (reduces the number of temporary allocations).
- Added a call to reserve() on cookies to minimize the number of grows.
BUG=
Committed: https://crrev.com/c15df6727a9c099eae6070dbeae77a33bebab8d1
Cr-Commit-Position: refs/heads/master@{#306494}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed GetFlattenedSpdyServer and optimized HostPortPair::ToString(). #
Messages
Total messages: 19 (6 generated)
|