diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-28 12:01:42 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | b5b337d4044a8e64956b8a2309739353f9ce339e (patch) | |
| tree | 44c23ad0509357ae5525aa51db37bdc2709ea645 /include/negamax.c | |
| parent | 8f15c1131342376ab3de2c6ce50d1ca5f20ec32a (diff) | |
It would appear that any function call whatsoever is slower :/
For now we'll stay with directly recomputing it at each non-terminal
node
Diffstat (limited to 'include/negamax.c')
| -rw-r--r-- | include/negamax.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/negamax.c b/include/negamax.c index b51961d..cfe2643 100644 --- a/include/negamax.c +++ b/include/negamax.c @@ -87,12 +87,6 @@ negamax(const uint8_t cur_depth, float alpha, float beta, action_take(node->action); - { - if (zobrist_apply(node->action, hash) != zobrist_compute()) { - printf("! %s\n", (GET_TYPE(node->action)==A_PLACE)?"A_PLACE":"A_MOVE"); - } - } - // Compute the value of the node float node_value; if (ply >= 2*board_size - 2 && (w = check_win()) < 0xFF) { |
