HeapArray
An Implementation of a variable length array, with its main benefit over Vec
is taking up less space
as HeapArray
is represented as (pointer, len) while Vec is a (pointer, len, capacity)
and is meant as a replacement for Box<[T]>
nice to have: compatible with serde
Example
use ;