PerfCache Wiki
A high-performance C++ cache library implementing O(1) LRU and LFU.
Status: Alpha
Brought to you by:
ghofford
Note: The include file, basetypes.h contains the following definitions, which are used by these methods:
typedef unsigned char QBYTE; typedef unsigned short QWORD;
Each of the basic operations methods has two overloads, which vary by key type:
1) Key type = const QBYTE * // const unsigned char *
Example:
int InsertString (const QBYTE *szKey, const QBYTE *pbszData, const unsigned int numSecondsTTL);
2) Key type = const QWORD * // const unsigned short *
Example:
int InsertString (const QWORD *wszKey, const QBYTE *pbszData, const unsigned int numSecondsTTL);