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

Consider optimizing multi-key lookups #1

Open
maxim opened this issue Dec 2, 2020 · 0 comments
Open

Consider optimizing multi-key lookups #1

maxim opened this issue Dec 2, 2020 · 0 comments

Comments

@maxim
Copy link
Owner

maxim commented Dec 2, 2020

When wordmap is queried with multiple keys (e.g. wmap.query('a', 'b', 'c')) it currently bsearches each one independently, then optimizes the data reads based on the results. However, if instead of reading one key on every bsearch, we read 10kb worth of keys, that could take care of a bunch of other requested keys, and stop bsearching for others.

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