Auto expiring cache library

Jack Stouffer jack at jackstouffer.com
Fri Apr 27 14:04:57 UTC 2018


On Friday, 27 April 2018 at 09:07:31 UTC, Pasqui23 wrote:
> 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?

Memcached


More information about the Digitalmars-d-learn mailing list