Files
turso/core/storage
Jussi Saurio ae22468d8b Merge 'Order by heap sort' from Nikita Sivukhin
This PR implements simple heap-sort approach for query plans like
`SELECT ... FROM t WHERE ... ORDER BY ... LIMIT N` in order to maintain
small set of top N elements in the ephemeral B-tree and avoid sort and
materialization of whole dataset.
I removed all optimizations not related to this particular change in
order to make branch lightweight.

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #3726
2025-10-23 15:00:42 +03:00
..
2025-10-21 20:13:39 +04:00
2025-10-06 11:07:06 -03:00
2025-10-22 23:40:44 +03:00
2025-10-21 14:10:05 -03:00