aboutsummaryrefslogtreecommitdiffstats
path: root/util/cache.lua
Commit message (Expand)AuthorAgeFilesLines
* util.cache: Add head() and tail() methods (and tests)Matthew Wild2016-03-171-0/+12
* util.cache (and tests): Call on_evict after insertion of the new key, so insi...Matthew Wild2015-12-221-5/+6
* util.cache: Small update to prefix private fields with an underscore, add a :...Matthew Wild2015-11-261-32/+43
* util.cache: Make sure cache size is specified as an integerKim Alvefur2015-11-251-0/+2
* util.cache: Ordered key->value data structure, with size limit (same as pubsub)Matthew Wild2015-11-241-0/+91