rust: remove support for `re2`
With the performance issues with `regex` figured out and fixed in previous patches and `regex` newly gaining support for empty alternations, there is no reason to keep `re2` around anymore. It's only *marginally* faster at creating the regex which saves at most a couple of ms, but gets beaten by `regex` in every other aspect. This removes the Rust/C/C++ bridge (hooray!), the `with-re2` feature, the conditional code that goes with it, the documentation and relevant part of the debug/module output. Differential Revision: https://phab.mercurial-scm.org/D8594
Showing
- mercurial/debugcommands.py 0 additions, 7 deletionsmercurial/debugcommands.py
- rust/Cargo.lock 0 additions, 8 deletionsrust/Cargo.lock
- rust/README.rst 0 additions, 41 deletionsrust/README.rst
- rust/hg-core/Cargo.toml 0 additions, 9 deletionsrust/hg-core/Cargo.toml
- rust/hg-core/build.rs 0 additions, 61 deletionsrust/hg-core/build.rs
- rust/hg-core/src/lib.rs 0 additions, 9 deletionsrust/hg-core/src/lib.rs
- rust/hg-core/src/matchers.rs 18 additions, 42 deletionsrust/hg-core/src/matchers.rs
- rust/hg-core/src/re2/mod.rs 0 additions, 21 deletionsrust/hg-core/src/re2/mod.rs
- rust/hg-core/src/re2/re2.rs 0 additions, 66 deletionsrust/hg-core/src/re2/re2.rs
- rust/hg-core/src/re2/rust_re2.cpp 0 additions, 49 deletionsrust/hg-core/src/re2/rust_re2.cpp
- rust/hg-cpython/Cargo.toml 0 additions, 1 deletionrust/hg-cpython/Cargo.toml
- rust/hg-cpython/src/debug.rs 0 additions, 2 deletionsrust/hg-cpython/src/debug.rs
- tests/test-install.t 0 additions, 6 deletionstests/test-install.t
Loading
Please register or sign in to comment