copies-rust: move CPU-heavy Rust processing into a child thread
… that runs in parallel with the parent thread fetching data. This can be disabled through a new config. CLI example: hg --config=devel.copy-tracing.multi-thread=no For now both threads use the GIL, later commits will reduce this. Differential Revision: https://phab.mercurial-scm.org/D9684
parent
cb4b0b0c6de4
No related branches found
No related tags found
Showing
- mercurial/configitems.py 5 additions, 0 deletionsmercurial/configitems.py
- mercurial/copies.py 10 additions, 3 deletionsmercurial/copies.py
- rust/Cargo.lock 1 addition, 0 deletionsrust/Cargo.lock
- rust/hg-cpython/Cargo.toml 1 addition, 0 deletionsrust/hg-cpython/Cargo.toml
- rust/hg-cpython/src/copy_tracing.rs 76 additions, 13 deletionsrust/hg-cpython/src/copy_tracing.rs
Loading
Please register or sign in to comment