Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a cache for working_directory() of containerized tool-info module
The goal is to avoid the multiprocessing overhead for this method, which is called often but always returns the same result. The multiprocessing overhead is typically not large, but in some situations it is: python/cpython#98493 On systems that are affect by this, it can save several minutes of execution time if there are 10000 runs.
- Loading branch information