Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set sqlite pragma mmap as builder patter option for LSH struct #4

Open
ritchie46 opened this issue May 25, 2020 · 0 comments
Open

Set sqlite pragma mmap as builder patter option for LSH struct #4

ritchie46 opened this issue May 25, 2020 · 0 comments

Comments

@ritchie46
Copy link
Owner

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant