3f1b7651e9
GPL header whitespace
2010-12-17 23:28:49 +01:00
Christian Thaeter
12feb6e7b8
add 'lumiera_free' as replacement for 'free'
...
lumiera_free() is for now just a static inline wraper around free()
Later this makes it easier to hook in some resource managing functions
or a Garbage Collector in.
Replaced all current uses of free()
2008-08-10 12:19:08 +02:00
Christian Thaeter
63c07d1274
doxydocing mrucache
2008-05-19 16:23:15 +02:00
Christian Thaeter
0996c386bb
Mrucache update
...
* Fix: unlinking at destroy
* rename add/remove to checkin/checkout
* add a drop function which moves a node to the end for fast reuse
2008-05-19 16:23:15 +02:00
Christian Thaeter
d32c74361b
Fix: typo in mrucache_age()
2008-05-13 20:57:19 +02:00
Christian Thaeter
eab6b64f6d
let mrucache age return how much elements it couldn't purge
2008-05-13 20:57:19 +02:00
Christian Thaeter
328127980a
a small most-recent-used cache implementation
2008-05-13 20:57:19 +02:00