lsh-rs
lsh-rs copied to clipboard
Set sqlite pragma mmap as builder patter option for LSH struct
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.
let lsh = LshSql::new(..)
.use_mmap()