in TT, save "common bucket bits" #19

Open
opened 2024-07-04 10:11:13 +02:00 by bruno · 0 comments
Owner

As min TT is 1Mb, that is 16,384 buckets, (16 bits bytes per entry and 4 entries in bucket), the mask is 14 bits (common part for all entries in one bucket).

Note: It would be 16 bits from 4Gb TT.

We can therefore store 50 bits (64 - 14) only, leaving 14 bits for other usage.

Or, to stay on 8 bits boundary: 56 bits, leaving 1 byte for other usage.

As min TT is 1Mb, that is 16,384 buckets, (16 ~~bits~~ bytes per entry and 4 entries in bucket), the mask is 14 bits (common part for all entries in one bucket). Note: It would be 16 bits from 4Gb TT. We can therefore store 50 bits (64 - 14) only, leaving 14 bits for other usage. Or, to stay on 8 bits boundary: 56 bits, leaving 1 byte for other usage.
bruno added the
enhancement
label 2024-07-04 10:11:13 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bruno/brchess#19
No description provided.