How do you actually measure the memory for this? I have a patch which changes the implementation, but looking at some memory infra traces it didn't seem to help so I haven't landed it.
https://codereview.chromium.org/2579773002/
Yeah, that's the CL, but since you're using wtf::Deque, you'll need to somehow instrument it too? Also, don't forget to gn clean before building.
BTW, what are memory properties of wtf::Deque, does it preallocate blocks of fixed size / specific number of elements?
Comment 1 by dskiba@chromium.org
, Dec 15 2016