mirror of https://github.com/ethereum/go-ethereum
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>pull/31042/head
parent
a7f9523ae1
commit
ea31bd9faf
Loading…
Reference in new issue