phf icon indicating copy to clipboard operation
phf copied to clipboard

Store and Restore

Open wahern opened this issue 10 years ago • 2 comments

Need to provide interface for storing and restoring (aka exporting and importing) the generated hash function. Applications must currently do this on their own.

wahern avatar May 14 '15 02:05 wahern

Is it enough to serialize content of struct phf? I mean seed, r, m, d_max, g_op by value, and also store content of memory starting from g of r size? No recursion / etc required?

bakwc avatar Dec 31 '17 22:12 bakwc

It would be really helpful it Readme.md showed actual use in c/c++: sample keys, generated hash function and how it could be used and what the purpose of it all

pps83 avatar Dec 27 '19 04:12 pps83