gmarcais / Jellyfish

A fast multi-threaded k-mer counter
Other
471 stars 136 forks source link

Loading/building hash table from disk #75

Open dnbaker opened 8 years ago

dnbaker commented 8 years ago

You've done some really fantastic work building your hash table implementation, and I'm looking at reusing it for a related application. As far as I understand, it looks like you can write and load the binary dump of key, value pairs, but not the hash table itself. (Though I imagine that could be messy, given the pointer to the reprobe table and template-related issues.)

If one were interested in serializing the table itself, is there such functionality available, or would one need to load the database, create a new hash table and fill it from the database?

Thanks!