Comment by sylware

3 years ago

I tend to avoid to work with data types which require to have a stable virtual address, namely a dynamic base with an offset. Because, mremap.

That said, it really depends on the data usage semantics, and one could write a much less costly allocator for such specific data. Virtual address stable generic allocators have a tendancy to be technical abominations based on statistical usage assumptions. Namely, their cost could be not worth for the improvment, even if there is a significant one.