mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
This PR adds balancing after delete. - [x] Remove linear search for cell in the page - [x] Change the implementation to state machine approach - [x] Handle cases when balancing is needed and not needed - [x] Add unit test to verify that balancing after delete maintains BTree integrity. Fixes: https://github.com/tursodatabase/limbo/issues/1019 Closes: https://github.com/tursodatabase/limbo/issues/455 Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Closes #1147