We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The clear() method currently uses a JS-land iterator, which is inefficient. We can instead iterate and delete in C++. Rough plan to get there:
clear()
delete start
std::string
start
ClearWorker
NAPI_METHOD(db_clear)
Ref Level/community#79
The text was updated successfully, but these errors were encountered:
Refactor initialization of range options
1b068d3
Ref #680
Refactor initialization of range options (#681)
23dc7d2
db.clear()
db.iterator()
Successfully merging a pull request may close this issue.
The
clear()
method currently uses a JS-land iterator, which is inefficient. We can instead iterate and delete in C++. Rough plan to get there:delete start
, by doing the logic in reverse, and remove the need for this by using anstd::string
forstart
Maybe merge the code that does initial seek with code that does manual seekClearWorker
NAPI_METHOD(db_clear)
Ref Level/community#79
The text was updated successfully, but these errors were encountered: