diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-15 11:50:13 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-15 11:50:13 -0800 |
commit | d1e03329c5c16ba38b082c3473e7c6970f168990 (patch) | |
tree | 9f5abb333a709f4360763d16efa5cfb44880eef6 /var | |
parent | 3c0048dd89e4d18ac95afd19b65d7ce54a48d862 (diff) | |
download | spack-d1e03329c5c16ba38b082c3473e7c6970f168990.tar.gz spack-d1e03329c5c16ba38b082c3473e7c6970f168990.tar.bz2 spack-d1e03329c5c16ba38b082c3473e7c6970f168990.tar.xz spack-d1e03329c5c16ba38b082c3473e7c6970f168990.zip |
Memoize all_specs() and exists() for better performance.
- Real bottleneck is calling normalize() for every spec when we read it.
- Need to store graph information in spec files to avoid the need for this.
- Also, normalizing old specs isn't always possible, so we need to do this anyway.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions