Skip to content

Commit

Permalink
Set the prune table size to ≈sqrt(43 quintillion).
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Oct 5, 2023
1 parent a10766f commit a708694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rs/search/prune_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type PruneTableEntryType = u8;
const UNINITIALIZED_DEPTH: PruneTableEntryType = 0xff;
const MAX_PRUNE_TABLE_DEPTH: PruneTableEntryType = UNINITIALIZED_DEPTH - 1;

const PRUNE_TABLE_INDEX_MASK: usize = 0xffffff;
const PRUNE_TABLE_INDEX_MASK: usize = 0x1ffffffff;
const DEFAULT_PRUNE_TABLE_SIZE: usize = PRUNE_TABLE_INDEX_MASK + 1;

struct PruneTableImmutableData {
Expand Down

0 comments on commit a708694

Please sign in to comment.