rphmeier/allocators

reallocate/reallocate_inplace

Closed this issue · 1 comments

These functions are necessary to implement many datastructures efficiently.

They can either be placed under the Allocator trait, or under a new Reallocate subtrait of allocator.

Adding a Reallocator trait is too fine-grained. Every allocator should be able to reallocate to some degree.