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

Bloom filter sets #9

Open
mappum opened this issue Nov 10, 2019 · 0 comments
Open

Bloom filter sets #9

mappum opened this issue Nov 10, 2019 · 0 comments

Comments

@mappum
Copy link
Contributor

mappum commented Nov 10, 2019

A possible optimization for our set operations are to use Bloom filters - we can probabilistically detect intersections in a way where the common case of 0 intersections is much faster to detect since we only have to AND the bits rather than doing O(N) HashSet lookups.

See more about this in the concurrency document: https://github.com/nomic-io/orga/blob/master/docs/concurrency.md#optimized-set-operations

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