Log

util/cache.lua @ 9427:460f08008521

description author age
util.cache: Call on-eviction callback when shrinking Kim Alvefur 2017-11-18
util.cache: Add a method to resize the cache Kim Alvefur 2017-11-18
util.cache: Add method for removing all data (does not call eviction callback) Kim Alvefur 2017-11-06
util.cache: Ignore unused argument [luacheck] Kim Alvefur 2016-10-18
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 2016-05-22
util.cache: Add method for iterating over values Kim Alvefur 2016-04-15
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 2016-03-17