jhonnold / berserk

UCI Chess Engine written in C
GNU General Public License v3.0
200 stars 32 forks source link

Hold TT Entry #456

Closed jhonnold closed 1 year ago

jhonnold commented 1 year ago

Bench: 5422070

When probing find the TT entry to replace as well. This saves time as during probe we are already iterating over the bucket. This patch almost no impact single threaded, however, this does patch a small bug with short entries of 0 being marked as hits on empty entries.

STC

ELO   | 1.69 +- 4.04 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=8MB
LLR   | 2.95 (-2.94, 2.94) [-5.00, 0.00]
GAMES | N: 13360 W: 3189 L: 3124 D: 7047

SMP STC Sanity Check

ELO   | 1.11 +- 6.43 (95%)
CONF  | 5.0+0.05s Threads=8 Hash=64MB
GAMES | N: 5000 W: 1124 L: 1108 D: 2768