Make sure no data structure does heap allocation on `new()`
orium opened this issue · 0 comments
orium commented
Empty data structures should need no heap allocation.
-
Vector
(See #28) -
HashTrieMap
See #24
We can test this with https://github.com/Windfisch/rust-assert-no-alloc