1. A computer-implemented method, comprising: identifying, by a computer system and in a primary cache, multiple instances of a candidate value; promoting, by the computer system, the candidate value to a value cache of the computer system by storing a single instance of the candidate value in a value buffer associated with the value cache, wherein the value cache is distinct from the primary cache; storing, by the computer system, multiple instances of a pointer to the candidate value in a pointer array data structure associated with the value cache, wherein a number of the instances of the pointer is the same as the number of instances of the candidate value in the primary cache; and evicting, by the computing system, the multiple instances of the candidate value from the primary cache.