HomePhabricator

rust-status: traverse working directory in parallel

Authored by Alphare.

Description

rust-status: traverse working directory in parallel

Using rayon for this task ensures that we are using the same work-stealing
threadpool for everything.

This change introduces crossbeam as an explicit dependency, although it is
already a dependency of rayon. It provides better structures for
multi-threaded tasks than the stdlib.

Differential Revision: https://phab.mercurial-scm.org/D8251

Details

Committed
AlphareFri, Mar 6, 11:51 AM
Differential Revision
D8251: rust-status: traverse working directory in parallel
Parents
rHGb8ba46c97cdd: rust-status: wrap `stat_dmap_entries` to ease profiling
Branches
Unknown
Tags
Unknown