summaryrefslogtreecommitdiff
path: root/src/root.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-10-05 22:21:15 -0700
committerScott Gasch <[email protected]>2026-10-05 22:21:15 -0700
commita8308030473f56f84a9a8c7179fe029524c68b3a (patch)
tree484d50b7858c57e06a066943b5cf24ede0ef403b /src/root.c
parentc03e7de56b316f83592ec39ce098a204628009cf (diff)
Fix stale pawn-hash comments (size, lock claim)
PAWN_HASH_TABLE_SIZE's "5.5Mb" comment predates iBishopColorScore growing PAWN_HASH_ENTRY to 80 bytes (131072 * 80 == 10Mb, not 5.5Mb). PawnHashLookup's "multi-probing scheme...to remove contention on MP machines" doesn't describe the code: it's a single direct-indexed probe into ctx->rgPawnHash, which is embedded per-thread inside SEARCHER_THREAD_CONTEXT, so there's no cross-thread contention to avoid in the first place. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/root.c')
0 files changed, 0 insertions, 0 deletions