Crafty 23.1 new hash scheme question to Bob

Discussion of chess software programming and technical issues.

Moderator: Ras

Cardoso
Posts: 363
Joined: Thu Mar 16, 2006 7:39 pm
Location: Portugal
Full name: Alvaro Cardoso

Crafty 23.1 new hash scheme question to Bob

Post by Cardoso »

Hi,
I didn't have the time to test version 23.1 yet .
When you changed to the new hash scheme did you get the same node counts?
If not how would you compare the node counts of v23.1 with v23.0 based only on this one change of hash scheme?

Best regards,
Alvaro
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 23.1 new hash scheme question to Bob

Post by bob »

Cardoso wrote:Hi,
I didn't have the time to test version 23.1 yet .
When you changed to the new hash scheme did you get the same node counts?
If not how would you compare the node counts of v23.1 with v23.0 based only on this one change of hash scheme?

Best regards,
Alvaro
No. SInce a bucket is now 4 entries, where it was 3 previously (1 depth-preferred, 2 always-replace entries selected by 1 bit in hash signature) the hash stuff now works differently. And the node counts change quickly.

As far as comparing goes, I worked carefully when making those changes. So that I compared 2 versions that were identical except for the hashing. This was a little faster, and also just a bit better in overall performance since choosing from among 4 entries to replace gives you a better chance to preserve good data and not overwrite it.