Try using Rayon to parallelize PATH
search
#99
Locked
brettcannon
started this conversation in
Ideas
Replies: 1 comment
-
Turns out that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://docs.rs/rayon/
The only major I/O being done is in
flattern_directories()
:python-launcher/src/lib.rs
Lines 244 to 253 in 281a5fc
It might make things faster to do this in parallel to maximize file system access for people with big
PATH
entries. But it also might be a wash in terms of thread overhead. Rayon should make this cheap enough to just try out really quickly.Beta Was this translation helpful? Give feedback.
All reactions