python-diskcache
python-diskcache copied to clipboard
[Feature Request] Allow iterkeys method to yield value or tag along with key?
Since the cache is a dictionary liked key value store, can we add a method like iteritems or iterkeyandtags?
I think it should be more performant than:
for key in cache.iterkeys():
value, tag = cache.get(key, tag=True)