Mercurial > hg
comparison hgext/zeroconf/Zeroconf.py @ 18603:2251b3184e6e
util: add an LRU cache dict
In certain cases we would like to have a cache of the last N results of a
given computation, where N is small. This will be used in an upcoming patch to
increase the size of the manifest cache from 1 to 3.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sat, 09 Feb 2013 15:41:46 +0000 |
parents | 31f32a96e1e3 |
children | b502138f5faa |
comparison
equal
deleted
inserted
replaced
18600:8ba520003ae0 | 18603:2251b3184e6e |
---|