Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Make db.clear() 27x faster by doing it natively
Browse files Browse the repository at this point in the history
Because this uses an iterator under the hood, it also refactors
shared code between `db.iterator()` and `db.clear()`.
  • Loading branch information
vweevers committed Sep 24, 2021
1 parent 8985b57 commit b815bea
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 170 deletions.
Loading

0 comments on commit b815bea

Please sign in to comment.