Search found 731 matches

by xr_a_y
Wed Oct 16, 2019 5:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

xr_a_y , I cannot really answer yes to that question ... It may indeed be the case. Are you thinking of a particular parameter ? I thought TT was a good candidate because with the used replacement scheme. I think instead of spending significant time on some idea it may be worth rechecking it: if yo...
by xr_a_y
Wed Oct 16, 2019 6:33 am
Forum: Computer Chess Club: General Topics
Topic: A complete 2000 lines of code engine
Replies: 164
Views: 41085

Re: A complete 2000 lines of code engine

I am very happy to announce Minic release 1.00, "anniversary release" :D . This version is not far from 0.99, just little search and eval tweaks and some fixes. Strength shall be around Winter0.6 or Igel1.9.2 UCI shall be working fine now and main options are now available from protocol. Level is no...
by xr_a_y
Sat Oct 12, 2019 5:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: kiwipete perft position
Replies: 54
Views: 7702

Re: kiwipete perft position

Hi hi hi my class ChessPiece still exists but only containing constants and static methods now. Took three years to get there. Can you imagine how many bugs and time I would have saved when I would have taken the right design decision from start. So for beginners who do object oriented programming:...
by xr_a_y
Sat Oct 12, 2019 4:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney October
Replies: 24
Views: 865

Re: On-line engine blitz tourney October

Sorry, cant be here this time. Have fun.
by xr_a_y
Sat Oct 12, 2019 12:28 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: 76th Amateur Series Division 4
Replies: 30
Views: 2379

Re: 76th Amateur Series Division 4

Big thanks, as always very fun and instructive.
by xr_a_y
Sat Oct 12, 2019 6:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

Why would you want to store the score part? A hash move should always be searched first. An age field would be useless on an always-replace (or an under-cut) slot. And two bits would probably be large enough for it, so it could be easily packed with the bound-type flag, (whick also only needs 2 bit...
by xr_a_y
Fri Oct 11, 2019 7:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

Vivien, Have you considered that the problem with long TC is not related to hash usage but rather to prunning conditions that are triggered differently in longer controls? I cannot really answer yes to that question ... It may indeed be the case. Are you thinking of a particular parameter ? I thoug...
by xr_a_y
Fri Oct 11, 2019 5:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

Sure, a large part of the hash key is completely redundant, as it can only be the index of the entry. Usually storing 32 bits as signature is good enough, and I was told Stockfish even uses only 16 bits. Wasting memory on padding is of course never a good idea. Only or very large or complex variant...
by xr_a_y
Fri Oct 11, 2019 4:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

Yes but as the struct is ill-organized there is some padding in the middle. That can be optimized in first place.
by xr_a_y
Fri Oct 11, 2019 2:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Looking for TT policy advice
Replies: 25
Views: 1382

Re: Looking for TT policy advice

I suppose you mean "with only two slots per bucket". True, you don't have much leeway in that case, as it is very important to always store in the TT. You could use undercut replacement, replacing the highest depth of the pair rather than the lowest when the new depth is exactly one less. Or do tha...