New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 763441 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

memory-infra: avoid vector moves in memory_instrumentation_struct_traits.cc using ArrayTraits

Project Member Reported by primiano@chromium.org, Sep 8 2017

Issue description

Right now in memory_instrumentation_struct_traits.cc we pay the cost of std::move-ing invididual elements just to convert a map into a vector.
It should be possible to get a view of the map using ArrayTraits, without actually building a vector.
See example in ui/gfx/mojo/transform_struct_traits.h .

 
Status: Assigned (was: Untriaged)

Sign in to add a comment