Search found 544 matches

by maksimKorzh
Tue Jan 12, 2021 12:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

I suppose you use separate 32-bit keys for the signature and the index, since JavaScript doesn't have a 64-bit type. For the signature you don't care what the sign is, it is only used for a comparison of numbers. You want the index to be within the range of the TT, though, which also means non-nega...
by maksimKorzh
Tue Jan 12, 2021 11:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

P.S. Unfortunately fixing hash entry indexing didn't resolve the issue of weaker play. I ran around 100 games and it shows that TT version 100!!! Elo points weaker compared to no TT. I'm very confused... Why the hack that can be...??? There is pretty much no way that a complete evaluation is faster...
by maksimKorzh
Tue Jan 12, 2021 11:50 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

op12no2 wrote:
Mon Jan 11, 2021 10:55 pm
Hi Maksim, I did reply to your email re TT - did you see it?
Hi Colin, nope - no email from - only that regarding PRNG you've sent previously, could you please resend it?
by maksimKorzh
Mon Jan 11, 2021 10:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

P.S. Martin, comewhere in the Cheng thread you've mentioned something like: "because I've made no progress since 4.40dev and because CEGT is already testing Guenther's compiles" - I just wanted to ask what you do when feel that kind of reaching the limits - when you feel like you can't make an engi...
by maksimKorzh
Mon Jan 11, 2021 3:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delimiter development diary
Replies: 50
Views: 3866

Re: Delimiter development diary

Even so I wouldn't call the integrating stage the most interesting of all. For me the most interesting stage would be after release, when the engine is working (and not much worse than Lime) and I can confidently maintain the code and add new features. During the integrating stage I would have much...
by maksimKorzh
Mon Jan 11, 2021 2:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

I suppose you use separate 32-bit keys for the signature and the index, since JavaScript doesn't have a 64-bit type. For the signature you don't care what the sign is, it is only used for a comparison of numbers. You want the index to be within the range of the TT, though, which also means non-nega...
by maksimKorzh
Mon Jan 11, 2021 2:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

I see. have you tried to mask it to 32 bits (or 31) first, like hashKey &= 0xffffffff? then use %? still - if you round number of entries to nearest power of two and then mask with num_entries-1, it should work as is index = (hashkey & 0x7FFFFFFF) % hashEntries worked for me. I didn't do hashKey &=...
by maksimKorzh
Mon Jan 11, 2021 10:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Re: Weaker play with TT

I don't understand your masking around hashEntries: var hashEntry = hashTable[hashKey & (hashEntries - 4)]; why -4, plus hashEntries seems nowehere close to a power of two (default is some weird value like 16M/80, so I'm puzzled if hashEntries was 2**n, then masking with (hashEntries-1) I would und...
by maksimKorzh
Mon Jan 11, 2021 2:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 1626

Weaker play with TT

Hi guys, I'm facing a very strange issue: My engine wit TT plays much worse instead of no TT version. My TT is 32bit (jsvascript) it gives a couple of plies deeper search and doesn't make some weird blunders - just seems to be playing well, but the results are so weird. I'm using the simplest TT imp...
by maksimKorzh
Sun Jan 10, 2021 10:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delimiter development diary
Replies: 50
Views: 3866

Re: Delimiter development diary

I don't think so. Debugging is always a pain. Unless you're one of those rare people who prefer hunting for bugs to adding new features. New features on top of buggy code leads to collapsing and dropping the project. In chess programming it's incredibly important to debug every single building bloc...