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()`.

(cherry picked from commit Level/leveldown@aedf49e)
  • Loading branch information
vweevers committed Nov 27, 2021
1 parent caa28a5 commit 32e9b5d
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 170 deletions.
Loading

0 comments on commit 32e9b5d

Please sign in to comment.