Replies: 1 comment
-
Do you have any estimates of roughly what size of store and how many entries are being kept/removed? If most entries are kept, I don't have any good suggestions, although I would have thought that would be pretty fast (I have seen millions of iterations per second on well cached data). However, if more or even close to as many entries are being removed, I wonder if maybe the |
Beta Was this translation helpful? Give feedback.
-
We want to implement cache garbage collection in Parcel, currently by deleting all LMDB entries that are not listed in a set (which lists all still needed/reachable cache entries). Just iterating over all the keys for this is pretty slow:
Do you know a way to implement this more efficiently?
Beta Was this translation helpful? Give feedback.
All reactions