• Jeremy Hylton's avatar
    Restore cache behavior for unreferenced by recently used objects. · 41dc25c3
    Jeremy Hylton authored
    The implementation is to make the reference in the cache "ring" a new
    reference rather than a borrowed reference.  It is the intent of the
    cache to keep N recently used objects in memory, regardless of whether
    they are currently referenced.  The goal is to avoid the cost of
    recreating the objects, based on the assumption that they are likely
    to be used again soon.
    41dc25c3
cPickleCache.c 26.5 KB