Auto expiring cache library

Pasqui23 p at example.com
Fri Apr 27 09:07:31 UTC 2018


I want a library that offers an in-memory data structure,such 
that I can write,for example:

cache.insert(key,value,expiry)

and I can retrieve the value with something like 
cache[key],unless it has passed expiry seconds.

Can be done?What library should I use?


More information about the Digitalmars-d-learn mailing list