sroelants / simbelmyne

A somewhat UCI compliant chess engine that could probably beat you.
GNU General Public License v3.0
15 stars 1 forks source link

Use single conthist table for 1ply and 2ply #240

Closed sroelants closed 2 months ago

sroelants commented 2 months ago

Because we're indexing by color, these entries can never overlap:

  +------------+----------------+---------------+
  |            |  White piece   |   Black piece |
  +------------+----------------+---------------+
  |White piece | 2 ply (white)  | 1 ply (white) |
  +------------+----------------+---------------+
  |Black piece | 1 ply (black)  | 2 ply (black) |
  +------------+----------------+---------------+

Bench: 5002464