comparison mercurial/encoding.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 c2effd1ecebf
children c8d3392f76e1
comparison
equal deleted inserted replaced
27462:470ea34ba593 27463:a8afdc5a7885