This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace O(N) lookup with O(1) for task outputs.
This speeds up suite validation significantly for tasks with large numbers of outputs. The list used required an O(N) check for membership which, when combined with being run for each output resulted in O(N**2) complexity. Using the builtin set should bypass any deprecated libraries in Python 2. Closes cylc#3255
- Loading branch information