memory-infra: avoid vector moves in memory_instrumentation_struct_traits.cc using ArrayTraits |
|
Issue descriptionRight 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 . |
|
►
Sign in to add a comment |
|
Comment 1 by benhenry@chromium.org
, Aug 1