Log

util/cache.lua @ 9317:d8496858c809

description author age
util.cache: Call on-eviction callback when shrinking Kim Alvefur Sat, 18 Nov 2017 21:35:40 +0100
util.cache: Add a method to resize the cache Kim Alvefur Sat, 18 Nov 2017 21:35:31 +0100
util.cache: Add method for removing all data (does not call eviction callback) Kim Alvefur Tue, 07 Nov 2017 00:38:47 +0100
util.cache: Ignore unused argument [luacheck] Kim Alvefur Tue, 18 Oct 2016 15:19:01 +0200
util.cache: Add support for creating a proxy table to a cache, that looks and acts (mostly) like a normal table. No tests yet. Matthew Wild Sun, 22 May 2016 18:18:23 +0100
util.cache: Add method for iterating over values Kim Alvefur Fri, 15 Apr 2016 13:19:20 +0200
util.cache: Change behaviour of on_evict (and tests). Now accepts false instead of a function (never evict), or on_evict can return false to prevent eviction. Matthew Wild Thu, 17 Mar 2016 19:08:42 +0000