[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LRU cache?
- From: PA <petite.abeille@...>
- Date: Fri, 18 Feb 2005 11:19:40 +0100
Hello,
What would be decent way to implement a LRU table in Lua?
For example, in Java, I would use a LinkedHashMap which keeps track of
access order and invoke removeEldestEntry() when appropriate. Does
anyone has something equivalent in Lua?
Thanks for any pointers :)
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/