Open fitzgen opened 3 years ago
Is this something that is still under consideration?
It would quite cool for embedded, since you'd be able to do 'dynamic' allocations on the stack without the need for a full allocator.
It would be a breaking change, at least as initially formulated, so won't happen until the Allocator
trait is stable in std
at the very least.
We could use const generics to control the size, perhaps.
This means that the initial N bytes of allocation wouldn't need to hit the global allocator.
cc @cfallin