orium / rpds

Rust persistent data structures
Mozilla Public License 2.0
1.28k stars 58 forks source link

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

Open orium opened 6 years ago

orium commented 6 years ago

Empty data structures should need no heap allocation.

See #24

We can test this with https://github.com/Windfisch/rust-assert-no-alloc