summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2023-06-19 18:47:58 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2024-01-09 00:26:22 -0800
commit6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01 (patch)
tree70f20a156efdc4d1961149718cabf2c67cc72de5 /.github
parent92e08b160e6519fff6258f17cf7fe64088f26279 (diff)
downloadspack-6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01.tar.gz
spack-6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01.tar.bz2
spack-6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01.tar.xz
spack-6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01.zip
refactor: Index dependency metadata by `when` spec
Part 1 of making all package metadata indexed by `when` condition. This will allow us to handle all the dictionaries on `PackageBase` consistently. Convert the current dependency dictionary structure from this: { name: { when_spec: [Dependency ...] } } to this: { when_spec: { name: [Dependency ...] } } On an M1 mac, this actually shaves 5% off the time it takes to load all packages, I think because we're able to trade off lookups by spec key for more lookups by name.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions