mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-18 23:54:19 +01:00
add comment clarifying the cell ordering
This commit is contained in:
committed by
Jussi Saurio
parent
3adae17483
commit
71b09727d9
@@ -6533,7 +6533,9 @@ fn defragment_page(page: &PageContent, usable_space: u16) {
|
||||
|
||||
if pc > last_offset {
|
||||
// Enable a fast path preventing the sort operation
|
||||
// for cells that are already in a sorted order
|
||||
// for cells that are already in a sorted order, since
|
||||
// cell grows from right to left we check if pc is
|
||||
// greater than the last offset
|
||||
is_physically_sorted = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user