Mercurial > hg
diff .hgignore @ 22687:d9cc1be5acec
revset: use direct access to __contains__ in spanset.__sub__
Using `x.__contains__(r)` instead of `r in x` does not matter for built-in type
(set) but have a positive impact for all other classes. This will let us drop
some usage of baseset.set() in future patches. This also probably improves some
performance.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 01 Oct 2014 15:53:42 -0500 |
parents | 8da01b6e7b49 |
children | 3232f92360d4 |