mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 20:44:23 +01:00
small follow up to https://github.com/tursodatabase/limbo/pull/539 contains: - Variable renaming and comments to `btreecursor.insert_into_cell()` - New utility methods `pagecontent.header_size()`, `pagecontent.cell_pointer_array_size()`, `pagecontent.unallocated_region_start()` and `pagecontent.unallocated_region_size()` - Refactor of `btreecursor.compute_free_space()` (plus comments and variable renaming) - Rename `pagecontent.cell_get_raw_pointer_region()` to `pagecontent.cell_pointer_array_offset_and_size()` and remove its usage in `btreecursor.defragment_page()` Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Closes #543