static-alloc
static-alloc copied to clipboard
Data structures like Rust `alloc` which reuse user allocated memory
Block on Rust 1.52 for stabilization of min_const_generics
https://internals.rust-lang.org/t/why-bring-your-own-allocator-apis-are-not-more-popular-in-rust/14494/3?u=heroickatora It seemed interesting to me because this has the distinct advantage of not necessitating a type parameter, which was also a 'revelation' when dealing with forward compatible ways to...
All complete with a variant that implements it for `LocalAlloc`.
In a special case, when the original constructor was `zeroed`, then the function does not need to perform its own zeroing of memory. This is helped by the fact that...
Not managing the allocation within `FixedVec` makes some rather outlandish interfaces necessary but also possible. Each should get forked into a separate issue when it gets a better draft or...
Implemented for Box, Rc, Arc from `alloc` crate. On rust versions since 1.45, implemented for Weak references as well. Available under `alloc` feature. Also expose `std` feature, which currently adds...