Browse files

Huge performance improvement.

  • Loading branch information...
Andrew Danks
Andrew Danks committed Mar 12, 2012
1 parent ddabd82 commit 519db667bc617280b0d42724496e4de7aba03dce
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -92,7 +92,7 @@ def enforce_gac(constraint_list):
# Push all constraints C' such that V is in scope of C' and C'
# is not in GACQueue
for C2 in constraint_list:
- if C2 not in GACQueue and V in C2.scope:
+ if V in C2.scope and C2 not in GACQueue:
return True

0 comments on commit 519db66

Please sign in to comment.