Fixes #980: really slow spack spec performance

- `spack spec dealii` now takse seconds rather than 18 minutes.

- Slow hash (`dag_hash`) was accidentally inserted into the fast hash
  (`__hash__`).

- Do not put the slow hash in the fast hash.
This commit is contained in:
Todd Gamblin 2016-05-22 18:33:13 -07:00
parent d087086581
commit 3ab56a188e

View File

@ -1750,8 +1750,7 @@ def _cmp_node(self):
self.variants,
self.architecture,
self.compiler,
self.compiler_flags,
self.dag_hash())
self.compiler_flags)
def eq_node(self, other):
"""Equality with another spec, not including dependencies."""