Skip to content

Use functor trees instead of closures. #2

@cdunn2001

Description

@cdunn2001

In order to run exploratory trials (for alpha-beta pruning, or some other optimizations) we need to copy state. We cannot copy closures in Python, nor in Lua. (Maybe in scheme?)

Instead, we can implement deep-copy for functor trees. That would be directly translatable to C++ as well, if we need the speed-up later.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions