diff hgext/pager.py @ 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 bcddddcf0b54
children afdf5f6ab37a
line wrap: on
line diff