You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8188cf8
Browse filesBrowse the repository at this point in the historyBrowse files
Refactor: Replace unbounded thread spawning with rayon parallel iterators
- Add rayon 1.11.0 dependency to pet-conda and pet-homebrew crates
- Refactor get_conda_environments() in lib.rs to use par_iter()
- Refactor get_conda_environment_paths() in environment_locations.rs to use par_iter()
- Refactor get_known_symlinks() in sym_links.rs to use par_iter()
This provides controlled parallelism based on CPU count, better resource
management, and avoids potential thread exhaustion on systems with hundreds
of Python environments.
Co-authored-by: karthiknadig <3840081+karthiknadig@users.noreply.github.com>
0 commit comments