News for hackers. Stuff that matters.
Re:Things you can’t do in Rust (and what to do instead) by staticassertion on Saturday May 15, 2021 @10:04PM (#27170608)
Or a Vec<T> for storage and a Vec<usize> for tombstoning. Lots of ways to solve this, and my experience is that you can beat a linked list approach with the 'Vec plus Vec' approach for a lot of data sizes/ operations.

Or a custom Vec that has a lower maximum bound, at which point you can start doing things like integer encoding/ pointer swizzling.

There are no comments on this comment yet.