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

opt4: simplify_minof #223

Merged
merged 1 commit into from
Oct 1, 2024
Merged

opt4: simplify_minof #223

merged 1 commit into from
Oct 1, 2024

Conversation

msm-cert
Copy link
Member

@msm-cert msm-cert commented Oct 1, 2024

// Minof is the slowest operation, so replace it by others if possible.
// This may also enable other optimizations to take place.
// MIN 5 OF (a, b, c, d, e) --> AND(a, b, c, d, e)
// MIN 1 OF (a, b, c, d, e) --> OR(a, b, c, d, e)
// MIN 0 OF (a, b, c, d, e) --> everything()

@msm-cert msm-cert merged commit c76a118 into master Oct 1, 2024
5 checks passed
@msm-cert msm-cert deleted the perf/opt4 branch October 1, 2024 13:20
@msm-cert msm-cert mentioned this pull request Oct 17, 2024
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.

2 participants