Open ritchie46 opened 4 years ago
Mmapping the fs can make the Sqlite backend faster.
https://www.sqlite.org/mmap.html
This could be a configuration for LSH<H, N, Sqlite<_>, K> that could be set as builder pattern.
LSH<H, N, Sqlite<_>, K>
let lsh = LshSql::new(..) .use_mmap()
Mmapping the fs can make the Sqlite backend faster.
https://www.sqlite.org/mmap.html
This could be a configuration for
LSH<H, N, Sqlite<_>, K>
that could be set as builder pattern.