Page_unsized was counting the offsets of internal nodes twice when compacting
Dependencies
- [2]
52X5P7NDCleaning up the unsized part - [3]
Q7DRIBBRDebugging replace (which cannot be del+put) - [4]
ESUI5EUZMaking as_page() unsafe - [5]
LSQ6V7M6Cleanup + docs - [*]
H3FVSQIQUnsized pages
Change contents
- replacement in sanakirja-core/src/btree/page_unsized/put.rs at line 34
size as isize - cur_size as isize// Since `size` isn't counting the size of the 64-bit offset,// and `cur_size` is, we need to add 8.8 + size as isize - cur_size as isize - edit in sanakirja-core/src/btree/page_unsized/alloc.rs at line 28
+ (hdr.n() as isize) * Self::OFFSET_SIZE as isize