Skip to content

How about mmapping these bad boys? #2

@rob-p

Description

@rob-p

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions