Crate vec_with_gaps[][src]


A data structure that behaves like a vec of vecs, but where the subvecs are kept, in order, in one contiguous section of memory, which improves cache performance for some workloads. Automates the logic of expansion so that each section essentially behaves like a Vec. (The members are pub because rust’s restrictions on private members are so strict that I do not believe that private members should be used, and because if you’re using this, you know how it works and you care enough about performance to want to be able to mess with it.)


Type Definitions