D4502: util: allow lrucachedict to track cost of entries
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Fri Sep 7 14:48:48 EDT 2018
lothiraldan added inline comments.
INLINE COMMENTS
> util.py:1277
> if node is not None:
> + self.totalcost -= node.cost
> node.value = v
I'm not sure this line is tested, I didnd't see a test where we replace an entry with an associated cost
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4502
To: indygreg, #hg-reviewers
Cc: lothiraldan, mercurial-devel
More information about the Mercurial-devel
mailing list