Skip to content

Consider using WeakKeyDictionarys as states #57

Open
@brandonwillard

Description

@brandonwillard

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions