summaryrefslogtreecommitdiff
path: root/.readthedocs.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-01-28 21:36:47 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2020-01-29 21:15:58 -0800
commita2f8a2321d94a89ad1cb13e0dccca20e5f5aa325 (patch)
treeac6ff559f200b0ea2f7bbd62a3ea40f638ad6999 /.readthedocs.yml
parent85ef1be780c82392227961529d67fd2b498e1beb (diff)
downloadspack-a2f8a2321d94a89ad1cb13e0dccca20e5f5aa325.tar.gz
spack-a2f8a2321d94a89ad1cb13e0dccca20e5f5aa325.tar.bz2
spack-a2f8a2321d94a89ad1cb13e0dccca20e5f5aa325.tar.xz
spack-a2f8a2321d94a89ad1cb13e0dccca20e5f5aa325.zip
repo: avoid unnecessary spec parsing in `filename_for_package_name()`
`filename_for_package_name()` and `dirname_for_package_name()` automatically construct a Spec from their arguments, which adds a fair amount of overhead to importing lots of packages. Removing this removes about 11% of the runtime of importing all packages in Spack (9s -> 8s). - [x] `filename_for_package_name()` and `dirname_for_package_name()` now take a string `pkg_name` arguments instead of specs.
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions