tests/narrow-library.sh
author Raphaël Gomès <rgomes@octobus.net>
Wed, 18 Oct 2023 14:50:14 +0200
changeset 51113 687e192dae16
parent 47952 0c92cd9286ee
permissions -rw-r--r--
rust-matchers: fix quadratic complexity in `FileMatcher` Concretely, this command: ``` $ echo hg up -r <nodeid>; time hg revert dir1 dir2 -r <othernode> --debug hg up -r <nodeid> real 0m14.690s user 0m14.766s sys 0m5.430s ``` was much slower despite using 16 cores before this change. The approach taken here is the same one used in match.py, in exactmatcher. This changeset was originally written by Valentin Gatien-Baron in a private repository. I have redacted the commit message and did a minor clean up of the code.

cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[experimental]
changegroup3 = True
EOF