Hi again, @gmarcais!
Another random question / feature request. Imagine that I want to use a compact_vector to store a very large array of encoded integers (e.g. a large suffix array or such). Now, I'm going to compute this array at great cost once, and then use it many times. If the vector is sufficiently large, one spends a lot of time deserializing it into RAM. However, since the layout is so nice, it might make sense to just mmap it so that we can start using it immediately. What do you think it the best way to do this with compact_vector?
Hi again, @gmarcais!
Another random question / feature request. Imagine that I want to use a
compact_vectorto store a very large array of encoded integers (e.g. a large suffix array or such). Now, I'm going to compute this array at great cost once, and then use it many times. If the vector is sufficiently large, one spends a lot of time deserializing it into RAM. However, since the layout is so nice, it might make sense to justmmapit so that we can start using it immediately. What do you think it the best way to do this withcompact_vector?