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

set-var-val optimization #2

Open
Kakadu opened this issue Feb 1, 2023 · 0 comments
Open

set-var-val optimization #2

Kakadu opened this issue Feb 1, 2023 · 0 comments

Comments

@Kakadu
Copy link
Collaborator

Kakadu commented Feb 1, 2023

https://github.com/michaelballantyne/faster-minikanren#set-var-val

There is an optimization, that if variable was created and immediately unified, we can store a binding inside a variable, and save a lookup to the substitution-map. Sounds weird, but it should save some performance. Needs benchmarking also.

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