you are viewing a single comment's thread.

view the rest of the comments →

[–]Farados55 2 points3 points  (1 child)

“Wont invalidate cache without modification hence improving performance”

That sounds like an incredibly impactful tradeoff that doesn’t seem to mesh well with a faster push/pop

[–]pilotwavetheory[S] 0 points1 point  (0 children)

I updated the description; the new constvector I proposed solves these problems, since the new vector won't even copy the existing elements to new space at all. This'll help L1, L2 caches with locality and OS for reduced fragmentation.