Remix.run Logo
IshKebab 4 days ago

I think optimal would be just normal vector under 4 kB and then switch to whole pages after that.

Do any vector implementations & allocators actually do this though?

loeg 4 days ago | parent [-]

You lose the in-place resize property if you don't start with an entire page.

As far as "has anyone implemented this?" -- I don't know.

IshKebab 3 days ago | parent [-]

Yeah but it probably makes little difference if your vector is under 4 kB anyway.