mbrubeck / mediumvec

Rust collections optimized for size
Apache License 2.0
11 stars 5 forks source link

Non-zero pointer optimization #1

Closed mbrubeck closed 5 years ago

mbrubeck commented 7 years ago

After NonZero optimizations are stabilized (rust-lang/rust#27730) this crate should use Unique<T> or equivalent, so that Option<Vec32<T>> is the same size as Vec32<T>.