summaryrefslogtreecommitdiff
path: root/.flake8_packages
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-12-18 14:25:21 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2019-12-18 16:07:28 -0800
commita3799b2c7bc8224f7cc4453e5cd6fdbea2cc71f1 (patch)
tree6139c87a29680c2d3ca0e7003b1a4303192feedd /.flake8_packages
parent0e9c8d236cc4b75e929d6212245a517d3847dc5d (diff)
downloadspack-a3799b2c7bc8224f7cc4453e5cd6fdbea2cc71f1.tar.gz
spack-a3799b2c7bc8224f7cc4453e5cd6fdbea2cc71f1.tar.bz2
spack-a3799b2c7bc8224f7cc4453e5cd6fdbea2cc71f1.tar.xz
spack-a3799b2c7bc8224f7cc4453e5cd6fdbea2cc71f1.zip
performance: speed up `spack find` in environments
`Environment.added_specs()` has a loop around calls to `Package.installed()`, which can result in repeated DB queries. Optimize this with a read transaction in `Environment`.
Diffstat (limited to '.flake8_packages')
0 files changed, 0 insertions, 0 deletions