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 memoisation #84

Closed
zesterer opened this issue Feb 9, 2022 · 1 comment
Closed

Implement memoisation #84

zesterer opened this issue Feb 9, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@zesterer
Copy link
Owner

zesterer commented Feb 9, 2022

Memoisation is a technique for making backtracking parser performance linear over the input length at the cost of higher memory consumption and more overhead for less exponential grammars. It would be nice to be able to support it.

See also #74

@zesterer zesterer added the enhancement New feature or request label Feb 9, 2022
@zesterer
Copy link
Owner Author

Closing because #290 implements a memoisation combinator. However, I still believe there's a need for improved behaviour: it can be unintuitive to figure out where best to place the combinator 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