##// END OF EJS Templates
rust-matchers: fix quadratic complexity in `FileMatcher`...
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.

File last commit:

r50314:2edb41ed default
r52002:687e192d default
Show More
rhel9
25 lines | 572 B | text/plain | TextLexer
Mathias De Mare
contrib: add support for rhel9
r50314 FROM rockylinux/rockylinux:9
RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
RUN dnf install 'dnf-command(config-manager)' -y
# crb repository is necessary for docutils
RUN dnf config-manager --set-enabled crb
RUN yum install -y \
gcc \
gettext \
make \
python3-devel \
python3-docutils \
rpm-build
# For creating repo meta data
RUN yum install -y createrepo
# For rust extensions
RUN yum install -y cargo
# avoid incorrect docker image permissions on /tmp preventing writes by non-root users
RUN chmod 1777 /tmp