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 using WeakKeyDictionarys as states #57

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

Consider using WeakKeyDictionarys as states #57

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

In relation to #55, using a WeakKeyDictionary might help automatically thin large states containing "auxiliary" logic variables that are no longer relevant.

We would definitely need to profile this and see how well it scales in certain "directions".

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