HF RL Explorer

Feature request: Add drain , pop first , and pop last to Table

Feature request: Add drain , pop first , and pop last to Table: a task in LegoFlow-SWE (Harbor dataset). Currently, clearing a range of entries from a Table (or retrieving and removing the first/last entry) requires manually iterating, collecting, and deleting – a verbose and error-prone pattern…

The task

Currently, clearing a range of entries from a `Table` (or retrieving and removing the first/last entry) requires manually iterating, collecting, and deleting – a verbose and error-prone pattern. Redb’s `Table` does not provide the equivalent of `BTreeMap::drain`, `BTreeMap::pop_first`, or `BTreeMap::pop_last`.

Part of Lego-X/LegoFlow-SWE.