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

ndb_filter_eq: filter equality testing #48

Merged
merged 4 commits into from
Nov 3, 2024
Merged

ndb_filter_eq: filter equality testing #48

merged 4 commits into from
Nov 3, 2024

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Nov 3, 2024

I'm working on an algorithm for redundant filter pruning, and it needed filter equality testing. this adds that.

jb55 added 4 commits November 3, 2024 06:53
This is more accurate

Signed-off-by: William Casarin <[email protected]>
filter equality testing. this works because field elements are sorted

Changelog-Added: Add ndb_filter_eq for filter equality testing
Signed-off-by: William Casarin <[email protected]>
subset testing for filters. Can be used to see if one subset is
redundant in the presence of a another in the local relay model

Changelog-Added: Add ndb_filter_is_subset_of
Signed-off-by: William Casarin <[email protected]>
this makes rust happier

Signed-off-by: William Casarin <[email protected]>
@jb55
Copy link
Contributor Author

jb55 commented Nov 3, 2024

This also adds ndb_filter_is_subset_of for

@jb55 jb55 merged commit 7365c20 into master Nov 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant