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

Do not use are_events_in_head #2

Open
mchalupa opened this issue Jan 13, 2023 · 0 comments
Open

Do not use are_events_in_head #2

mchalupa opened this issue Jan 13, 2023 · 0 comments

Comments

@mchalupa
Copy link
Contributor

We know how many events we check for, so we can just generate if () { if () ... } instead of a while cycle that iterates over an array. It will help optimizations to better optimize code. We can also do grouping of rules if there are two consequent rules that check that a first event is A, we can restructure if's to check for A only once.

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