You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original issue 113 created by sawloo on 2012-09-04T22:18:53.000Z:
Count(start, limit)
seems that some people also want a count/size method without calling the iterator to loop thru the entire set just to count the number of records. So, would be great if there is a method like "Count(start, limit)" or "Count(range)" to count the number of records which fall inside the range [start, limit).
Delete(start, limit)
A fast Delete methods which delete a range of keys [start, limit) would be nice. I guess this can be optimized inside levelDB to do this instead of having my program looping and delete one by one.
The text was updated successfully, but these errors were encountered:
Comment #2 originally posted by [email protected] on 2012-09-18T17:18:47.000Z:
There is no way to implement Count more efficiently inside leveldb than outside.
"Delete range" could theoretically be implemented more efficiently inside leveldb, but it would be very complicated or would interact badly with snapshots. So it won't happen any time soon.
Original issue 113 created by sawloo on 2012-09-04T22:18:53.000Z:
Count(start, limit)
seems that some people also want a count/size method without calling the iterator to loop thru the entire set just to count the number of records. So, would be great if there is a method like "Count(start, limit)" or "Count(range)" to count the number of records which fall inside the range [start, limit).
Delete(start, limit)
A fast Delete methods which delete a range of keys [start, limit) would be nice. I guess this can be optimized inside levelDB to do this instead of having my program looping and delete one by one.
The text was updated successfully, but these errors were encountered: