This is to avoid cloning for every move searched. At the moment, every move tried creates a new ABState and GameState instance (et. al.), which is very wasteful. It would be much better if these were incrementally maintained, sort of like a take back for every level of the search.
This is to avoid cloning for every move searched. At the moment, every move tried creates a new ABState and GameState instance (et. al.), which is very wasteful. It would be much better if these were incrementally maintained, sort of like a take back for every level of the search.