Skip to content

set-var-val optimization #2

Description

@Kakadu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions