This is an archive of the discontinued Mercurial Phabricator instance.

rust-status: traverse working directory in parallel
ClosedPublic

Authored by Alphare on Mar 6 2020, 12:51 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Mar 6 2020, 12:51 PM
Alphare updated this revision to Diff 20708.Mar 11 2020, 11:52 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.