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

Consider adding a ChainMap-like state class #56

Open
brandonwillard opened this issue Aug 1, 2022 · 0 comments
Open

Consider adding a ChainMap-like state class #56

brandonwillard opened this issue Aug 1, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed important performance

Comments

@brandonwillard
Copy link
Member

brandonwillard commented Aug 1, 2022

With a ChainMap-like state class, we could constrain the amount of state (e.g. dict) cloning that kanren does, which should provide a big performance improvement when states are large Mappings (e.g. the kind produced by our graph relations/goals).

N.B. A lot of the state cloning is implicitly done within unify, so this might be more appropriate for https://github.com/pythological/unification.

@brandonwillard brandonwillard added enhancement New feature or request help wanted Extra attention is needed important performance labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed important performance
Projects
None yet
Development

No branches or pull requests

1 participant