Better reuse of the transposition table etc. #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #114. Now the transposition table can be reused in SolveBoardInternal whenever the new deal has the same trump suit and none of the cards in the new deal was originally in an other hand. When this happens the old deal, that is the deal registered in/corresponding to the transposition table, is updated as the combination of the two deals. In order for this to work i have changed the code so ALL validations is done on dl.remaningcards and postponed the updates of thrd->suits. And two small error was fixed too.
I wanted to uses this dll to verify each ply in my own DDS algorithms (11 different ones code to compare the differences ), but that would take days to complete before this change - now it can be done in minutes:-) This is also have I have tested my changes in more than 500.000 calls