Open orxfun opened 9 months ago
Currently, SplitVec::new() or SplitVec created with other built-in growth strategies allocate the first fragment. Ideally, an empty vector must not allocate any fragments to avoid unnecessary heap allocation.
SplitVec::new()
SplitVec
Currently,
SplitVec::new()
orSplitVec
created with other built-in growth strategies allocate the first fragment. Ideally, an empty vector must not allocate any fragments to avoid unnecessary heap allocation.