comparison tests/test-copy.t @ 31697:992882cef7e1

fileset: perform membership test against set for status queries Previously, fileset functions operating on status items performed membership tests against a list of items. When there are thousands of items having a specific status, that test can be extremely slow. Changing the membership test to a set makes this operation substantially faster. On the mozilla-central repo: $ hg files -r d14cac631ecc 'set:added()' before: 28.120s after: 0.860s $ hg status --change d14cac631ecc --added 0.690s
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 28 Mar 2017 14:40:13 -0700
parents 381293e1135e
children c2380b448265
comparison
equal deleted inserted replaced
31696:9d3d56aa1a9f 31697:992882cef7e1