go-ethereum/ethdb
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
..
dbtest ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
leveldb metrics, cmd/geth: change init-process of metrics (#30814) 2024-12-10 13:27:29 +01:00
memorydb ethdb/memorydb: faster DeleteRange (#31038) 2025-01-17 16:54:19 +01:00
pebble metrics, cmd/geth: change init-process of metrics (#30814) 2024-12-10 13:27:29 +01:00
remotedb ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher (#24392) 2022-02-15 15:15:13 +02:00
database.go ethdb: refactor Database interface (#30693) 2024-10-29 10:32:40 +02:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00