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 optimisation pass for pattern #34

Open
darrenldl opened this issue Jun 1, 2021 · 1 comment
Open

Add optimisation pass for pattern #34

darrenldl opened this issue Jun 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@darrenldl
Copy link
Contributor

Rewrite things like ns = [0, 999_999_999] to ns = [] (wildcard) before passing the pattern to Pattern_resolver.resolve (or handle it inside Pattern_resolver.resolve) to remove unnecessary performance penalty - very noticeable now since ns level pattern has been introduced.

@darrenldl darrenldl added the enhancement New feature or request label Jun 1, 2021
@darrenldl
Copy link
Contributor Author

Partially addressed: added optimisation pass during construction via Timere.pattern, but no further optimization is done during Timere.union right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant