diff options
| author | Scott Gasch <[email protected]> | 2026-10-07 08:17:51 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-10-07 08:17:51 -0700 |
| commit | d14dbe2a50c220b2adac758c3d4f1a1fa67ece0b (patch) | |
| tree | cbf6d9928bcc41ef833b62b70479113f7d419925 /src/root.c | |
| parent | 447130db3df87b40d080dc26429d45e9213c19f7 (diff) | |
Speed up eval/move-gen/SEE; remove EvalLookForDanger, overhaul _EvalKing
SPRT-confirmed improvement (1814 games, st 4.0): candidate nps=1498118
vs head=1378448, avg depth 14.30 vs 13.87, ELO=+24.2+/-16.0,
LOWER95=0.5118, LLR=+3.126 crossing the H1 bound.
Most of the diff is non-semantic speed work across eval.c, generate.c,
movesup.c, see.c, probe.c and friends. Two real semantic changes:
removed EvalLookForDanger and overhauled _EvalKing's king-safety scoring.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/root.c')
| -rw-r--r-- | src/root.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1453,7 +1453,7 @@ Return value: ctx->uRootDepth = 0; ctx->sPlyInfo[0].PV[0] = mv; ctx->sPlyInfo[0].PV[1] = NULLMOVE; - strcpy(ctx->szLastPV, "tb"); + strcpy(ctx->szLastPV, "<EGTB>"); if (!g_Options.fPondering) { Trace("TABLEBASE MOVE --> stop searching now\n"); g_MoveTimer.bvFlags |= TIMER_STOPPING; @@ -1710,8 +1710,6 @@ Return value: ctx->sCounters.tree.u64NCRealLoopNodeSum[u]; } #endif - g_MoveTimer.dEndTime = SystemTimeStamp(); - // // Here we are at the end of a search. If we were: // @@ -1737,6 +1735,7 @@ Return value: ret.eResult = RESULT_IN_PROGRESS; ret.szDescription[0] = '\0'; end: + g_MoveTimer.dEndTime = SystemTimeStamp(); return ret; } |
