lsh-rs icon indicating copy to clipboard operation
lsh-rs copied to clipboard

Set sqlite pragma mmap as builder patter option for LSH struct

Open ritchie46 opened this issue 5 years ago • 0 comments

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()

ritchie46 avatar May 25 '20 16:05 ritchie46