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 compile caching for Interpreter #75

Open
matajoh opened this issue Sep 12, 2023 · 1 comment
Open

Add compile caching for Interpreter #75

matajoh opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@matajoh
Copy link
Member

matajoh commented Sep 12, 2023

At the moment the interpreter restarts compilation for each query. It should instead cache the step immediately before unification so that everything but the input and query are already good to go.

Notes

  • This will not work for more complex queries, or rather they may still need to pass through compilation.
  • Input will need to be parsed as well (this will need to be done by the standalone JSON parser from json built-ins #60)
@matajoh matajoh added the enhancement New feature or request label Oct 20, 2023
@matajoh matajoh self-assigned this Oct 20, 2023
@matajoh
Copy link
Member Author

matajoh commented Jun 4, 2024

A step towards this has been done in 0.4.0, with intermediate caching of all documents and input terms. There is still more that could potentially be done, however.

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