Closed mbrubeck closed 5 years ago
Add a single-pointer-width vector type that stores its length and capacity as part of the same heap allocation as its buffer.
https://github.com/Gankro/thin-vec does this using the unstable liballoc crate. It would be nice to have a stable version too, but handling alignment is much more annoying without liballoc.
Add a single-pointer-width vector type that stores its length and capacity as part of the same heap allocation as its buffer.