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

Optimize processing #8

Closed
mayhemer opened this issue Jun 9, 2017 · 1 comment
Closed

Optimize processing #8

mayhemer opened this issue Jun 9, 2017 · 1 comment

Comments

@mayhemer
Copy link
Owner

mayhemer commented Jun 9, 2017

split and map rules by modules and by [word, separator, word, the rest] so that we don't have to iterate the whole rule array over every line in the log - O(n x m).

mayhemer added a commit that referenced this issue Jun 16, 2017
@mayhemer
Copy link
Owner Author

1a986a4

But despite we are iterating only 0.5% of rules as before the effect is small - saving some 20-25% of time only.

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