Gabriella439 / Gabriella439/Haskell-Succinct-Vector-Library

Using succinct data structures with memory mapping

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
20
Forks
0
PR merge metrics
No merged PRs in 30d

Description

One potentially valuable use-case is to be able to do rank-select over small sections of very large files by memory mapping the file to avoid having to load it all into memory.

Memory mapped files only provide `Ptr`, `ForeignPtr` or `ByteString` functions and I've not been successful in converting them into `Data.Vector`. Hopefully there is a way, but so for I've only managed to get `Data.Vector.Storable`.

Unfortunately `Data.Vector.Storable` module also is missing functions such as `zip`, so it isn't as simple as swapping out the `Vector` modules.

Do you have any thoughts about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.