forked from pybamm-team/PyBaMM
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace wget with urllib for downloading and parallelize with concurr…
…ent.futures for efficiency This update replaces the previous wget-based approach with urllib from the Python standard library. Additionally, it introduces parallelization using concurrent.futures, specifically employing ThreadPoolExecutor to download SuiteSparse and SUNDIALS tarballs simultaneously. This parallelization significantly reduces the download time. Resolves: pybamm-team#3651
- Loading branch information
1 parent
5c63df0
commit 4c56d1f
Showing
1 changed file
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters