Mercurial > hg > mercurial-crew
changeset 22527:6e38b5d49977
revset: reduce dict lookup in lazyset.__contains__
Avoid an extra dict lookup when we have to compute the value. No
visible performance impact but this shaves the yak a few extra
nanometers.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 25 Apr 2014 14:51:24 -0700 |
parents | 1e6d2b6b37ea |
children | b6dc3b79bb25 |
files | mercurial/revset.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff