You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,7 +29,7 @@ Following our latest optimizations, `cloudSQL` completely bridged the insert gap
29
29
### Sequential Scans
30
30
We have completely flipped the scan gap. `cloudSQL` is now **~9x faster** than SQLite for raw sequential scans. This was achieved by:
31
31
1.**Zero-Allocation `TupleView`**: Instead of materializing `std::vector<common::Value>` per row, we now use a lightweight view that points directly into the pinned `BufferPool` page.
32
-
2.**Lazy Deserialization**: Values are only decoded from the binary format when explicitly accessed, avoiding all overhead for skipped columns.
32
+
2.**Lazy Deserialization**: Values are decoded only when accessed, reducing work for read columns, but `TupleView` currently still walks prior fields up to `col_index`, so later-column access still pays the cost of preceding fields.
33
33
3.**Fast-Path MVCC**: For non-transactional scans (the common case for bulk data processing), we bypass complex visibility logic and only perform a single `xmax == 0` check.
34
34
4.**Iterator Caching**: The `PageHeader` is now cached during page transitions, eliminating repetitive `memcpy` calls in the scan hot path.
0 commit comments