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

Compile funcMatch Regex only in runtime #230

Open
afonsosribeiro opened this issue Nov 28, 2023 · 0 comments
Open

Compile funcMatch Regex only in runtime #230

afonsosribeiro opened this issue Nov 28, 2023 · 0 comments

Comments

@afonsosribeiro
Copy link

Why in funcMatch regex only compiled in runtime?

If the regex is constant (which can be known at compile time) the gojq.Compile should compile it just once to avoid compilation of the same regex for multiple inputs.

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