A cache library written in C++