diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-21 23:45:30 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 23:18:46 -0800 |
commit | e3939b0c72b2c6bc5f41e9f33de3c04cf4785c05 (patch) | |
tree | 13b54a5616dee4058162629be88817afd3a74dd6 /LICENSE-APACHE | |
parent | f01368739741ef9b3bcc827f7dbc2ab9d5b48df4 (diff) | |
download | spack-e3939b0c72b2c6bc5f41e9f33de3c04cf4785c05.tar.gz spack-e3939b0c72b2c6bc5f41e9f33de3c04cf4785c05.tar.bz2 spack-e3939b0c72b2c6bc5f41e9f33de3c04cf4785c05.tar.xz spack-e3939b0c72b2c6bc5f41e9f33de3c04cf4785c05.zip |
performance: don't recompute hashes when regenerating environments
`ViewDescriptor.regenerate()` was copying specs and stripping build
dependencies, which clears `_hash` and other cached fields on concrete
specs, which causes a bunch of YAML hashes to be recomputed.
- [x] Preserve the `_hash` and `_normal` fields on stripped specs, as
these will be unchanged.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions