• A
    Use 24 bits for the lru object field and improve resolution. · 001775f5
    antirez 提交于
    There were 2 spare bits inside the Redis object structure that are now
    used in order to enlarge 4x the range of the LRU field.
    
    At the same time the resolution was improved from 10 to 1 second: this
    still provides 194 days before the LRU counter overflows (restarting from
    zero).
    
    This is not a problem since it only causes lack of eviction precision for
    objects not touched for a very long time, and the lack of precision is
    only temporary.
    001775f5
redis.h 59.2 KB