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

Implement expression compile #109

Open
vitonsky opened this issue Dec 9, 2021 · 0 comments
Open

Implement expression compile #109

vitonsky opened this issue Dec 9, 2021 · 0 comments

Comments

@vitonsky
Copy link

vitonsky commented Dec 9, 2021

Can we implement compilation XPath expression to JS code or maybe to JS function which build body on compilation stage?

I want to write xpath expression once and then got function which can execute only this expression with any document. It may be faster and if we can generate JS code, we can generate it once and not use all xpath package in runtime on client.

Can we implement it or it too complexity for scope of this package? Maybe you know about other packages which can do it?

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