search without makemove/unmakemove
Posted: Mon Mar 30, 2015 12:56 pm
Hi all,
I'm trying to read as many relevant threads on here as possible and one topic I haven't seen anything on is searching without the make/unmake move combo. What I'm thinking about is that since most search algorithms are implemented in a recursive manner could it not be more efficient (faster) to "makemove" on temporary position and then let exiting the recursion "pop" the position back to where it was before the "makemove"? I know that each call to the recursion would require the copying of a minimal set of data, but wouldn't this be compensated for by the lack of an "unmake" (including the game-state/game-history)?
Any information regarding discussion of this topic, together with thoughts on this, very welcome.
Thanks,
Graham....
I'm trying to read as many relevant threads on here as possible and one topic I haven't seen anything on is searching without the make/unmake move combo. What I'm thinking about is that since most search algorithms are implemented in a recursive manner could it not be more efficient (faster) to "makemove" on temporary position and then let exiting the recursion "pop" the position back to where it was before the "makemove"? I know that each call to the recursion would require the copying of a minimal set of data, but wouldn't this be compensated for by the lack of an "unmake" (including the game-state/game-history)?
Any information regarding discussion of this topic, together with thoughts on this, very welcome.
Thanks,
Graham....