DescriptionUse scoped_ptr for loaders map in ResourceDispatcherHostImpl
Mostly for cleanup, but this seems to have minor perf-win (5%-ish)
on a few frequently called per-request methods like
ResourceDispatcherHostImpl::RemovePendingRequest.
(With 1000+ data points on my relatively fast Mac, the method takes
72.77 us by average in the original code, while it takes
66.67 us by average with scoped_ptr version.)
BUG=556939
Committed: https://crrev.com/591bbce72bf16e013ba7dea4005fc0d89d70b744
Cr-Commit-Position: refs/heads/master@{#370076}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : remove linked_ptr.h #
Messages
Total messages: 16 (9 generated)
|