-
-
Notifications
You must be signed in to change notification settings - Fork 176
range delete #9
Comments
yeah, sure, but that's a very inefficient mechanism since for each key you're crossing the thread boundary twice via libuv (once for the iterator->JS |
So, what % improvement will a benchmark show? |
if this took iterator arguments, like |
Could really benefit from this. Bumping into a case where I am managing capped timeseries and my deletes can't keep up with my writes. |
Marking as "help wanted", a good project for someone wanting to get their hands dirty. I don't think this would ever be exposed at the LevelUP layer but features like this that are specific to back-ends should be exposed in the LevelDOWN layer so you can access them if you need them. level-range-delete could even detect the presence of a |
Oh, while this has surfaced again, So if you are only deleting something to save space, maybe an idea would be to just not delete it? eventually the deletes should be compacted away, but short/mid term they are extra records. Having a range-delete is really encouraging adding a lot of extra records to a database, |
Closing in favor of #680. |
dupe of Level/levelup#23, needs to be done mostly here rather than there.
The text was updated successfully, but these errors were encountered: