1 unstable release
Uses old Rust 2015
0.1.0 | Aug 6, 2018 |
---|
#23 in #usize
Used in synctree
10KB
184 lines
OneVec
A simple Vec<T>
wrapper with one-based indices allowing for memory layout optimization, e.g.
Option<NonZeroUsize>
is the same size as usize
(8 or 4 bytes on most platforms),
while size of Option<usize>
is two times bigger than usize
(due to alignment).