- implementation of header only LRU Cache
- a simple microbenchmark test
git clone https://github.com/gt-sse-center/lru-function-compute-cache.git
- tCache.h : Header only implementation of LRU cache
- testtCache.cpp: Implementation of microbenchmark to compare cached vs. normal function
- calltrace.txt: Dump of function input parameters and output of the function
$ g++ testtCache.cpp -o cc
- with cache disabled
$ ./cc
- with cache enabled
$ ./cc 1