Mercurial > prosody-hg
log util/cache.lua @ 7289:42e7545d5ae3
| age | author | description |
|---|---|---|
| Thu, 17 Mar 2016 19:07:40 +0000 | Matthew Wild | util.cache: Add head() and tail() methods (and tests) |
| Tue, 22 Dec 2015 20:10:07 +0000 | Matthew Wild | util.cache (and tests): Call on_evict after insertion of the new key, so inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed) |
| Thu, 26 Nov 2015 00:07:48 +0000 | Matthew Wild | util.cache: Small update to prefix private fields with an underscore, add a :count() method (same as util.queue) and add an optional on_evict callback |
| Wed, 25 Nov 2015 20:49:41 +0100 | Kim Alvefur | util.cache: Make sure cache size is specified as an integer |
| Tue, 24 Nov 2015 10:44:41 +0000 | Matthew Wild | util.cache: Ordered key->value data structure, with size limit (same as pubsub) |
