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

Add a proper way of resetting the registry. #8

Open
ThHareau opened this issue Oct 2, 2018 · 0 comments
Open

Add a proper way of resetting the registry. #8

ThHareau opened this issue Oct 2, 2018 · 0 comments

Comments

@ThHareau
Copy link
Contributor

ThHareau commented Oct 2, 2018

We need to reset the sieve registry between every parses.

It was done in 197c174 by recreating an instance of SieveRegistry. It takes in average 1,26847 ms, which is not high, but it can be optimized easily, by caching the content of the xml files inside the SieveRegistry constructor.

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