remove no longer needed full hash check

This commit is contained in:
Todd Gamblin 2022-04-08 01:17:28 -07:00
parent d20cc7b124
commit 283a4e6068

View file

@ -1688,12 +1688,7 @@ def matching_spec(self, spec):
for user_spec, concretized_user_spec in self.concretized_specs(): for user_spec, concretized_user_spec in self.concretized_specs():
# Deal with concrete specs differently # Deal with concrete specs differently
if spec.concrete: if spec.concrete:
# TODO: do we still need the extra check comparing dag hashes? if spec in concretized_user_spec:
is_match = (
spec in concretized_user_spec and
concretized_user_spec[spec.name].dag_hash() == spec.dag_hash()
)
if is_match:
matches[spec] = spec matches[spec] = spec
continue continue