Lrumap is a project mainly written in TEX and PERL, it's free.
O(1) LRU which grows more space-efficient as the number of sets increases