rpds icon indicating copy to clipboard operation
rpds copied to clipboard

Make sure no data structure does heap allocation on `new()`

Open orium opened this issue 7 years ago • 0 comments
trafficstars

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

orium avatar Apr 10 '18 15:04 orium