Skip to content

Commit 997a1b8

Browse files
author
Eric B. Ridge
committed
Merge branch 'eebbrr/memory-arena-limit' of github.com:paradedb/tantivy into eebbrr/memory-arena-limit
2 parents 65f3d8d + e81c6e7 commit 997a1b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stacker/src/memory_arena.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const PAGE_SIZE: usize = 1 << NUM_BITS_PAGE_ADDR; // pages are 512k large
3838
// We use 32-bits addresses.
3939
// - 19 bits for the in-page addressing
4040
// - 13 bits for the page id.
41-
// This limits us to 2^13 - 1=8192 for the page id.
41+
// This limits us to 2^13 - 1=8191 for the page id.
4242
const MAX_PAGES: usize = 1 << (32 - NUM_BITS_PAGE_ADDR);
4343

4444
/// Represents a pointer into the `MemoryArena`

0 commit comments

Comments
 (0)