ekg / seqwish

alignment to variation graph inducer
MIT License
143 stars 18 forks source link

mmap'ed reads of dmultimap #3

Open ekg opened 6 years ago

ekg commented 6 years ago

Right now seqwish uses file seeks (!) to read entries in its indexes, including both the seqindex and dmultimap.

Changing these reads to use memmap'ing could improve performance, by allowing the OS to cache the backing file more appropriately. It's worth investigating.