Skip to content

set-var-val optimization #2

Open
@Kakadu

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.

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