go-ethereum/ethdb/memorydb
Felföldi Zsolt ea31bd9faf
ethdb/memorydb: faster DeleteRange (#31038)
This PR replaces the iterator based DeleteRange implementation of
memorydb with a simpler and much faster loop that directly deletes keys
in the order of iteration instead of unnecessarily collecting keys in
memory and sorting them.

---------

Co-authored-by: Martin HS <martin@swende.se>
2025-01-17 16:54:19 +01:00
..
memorydb.go ethdb/memorydb: faster DeleteRange (#31038) 2025-01-17 16:54:19 +01:00
memorydb_test.go ethdb/memorydb, trie: reduced allocations (#28473) 2023-11-15 16:20:34 +01:00