libalru
is a library for creating really fast numeric based LRU caches that
leverage an optimized CRC-16-CCITT ported from
array-lru. Values are unsigned
64 bit integers that point to a memory address and are associated with
an unsigned integer index where index is at most the size of the
internal cache.
With clib do:
$ clib install jwerle/libalru
Or from source do:
$ git clone git@github.com:jwerle/libalru.git
$ cd libalru
$ ./configure
$ make
$ sudo make install
TODO
TODO
Initializes an already allocated alru_t *
pointer with
a max cache size. If an already
TODO
TODO
TODO
TODO
Allocates and returns a new alru_t *
pointer.
TODO
MIT