Skip to content

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 aedf49e
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 170 deletions.

0 comments on commit aedf49e

Please sign in to comment.