comparison mercurial/peer.py @ 27463:a8afdc5a7885

fileset: use set instead of list to mark predicates for efficiency (API) This reduces cost of examining whether given predicate calls 'matchctx.status()' or 'matchctx.existing()' in 'getfileset()' at runtime. This kind of examination is used also in subsequent patch, which detects unintentional 'matchctx.existing()' invocation per each predicate evaluation.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 21 Dec 2015 22:31:16 +0900
parents e6b56b2c1f26
children d549cbb5503d
comparison
equal deleted inserted replaced
27462:470ea34ba593 27463:a8afdc5a7885