[Feature Request] Allow iterkeys method to yield value or tag along with key?
MacHu-GWU opened this issue · comments
Sanhe Hu commented
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)