`TestStep.GetObjectSettings` performance issue
This TestStep.GetObjectSettings function executes before resources are connected, to determine which resources are needed. This function becomes very slow as the test plan gets larger. On my test plan with over 100k steps, the function takes 10 minutes to execute.
I created branch GetObjectSettings_performance, which reduces the execution of TestStep.GetObjectSettings from minutes to seconds. I don't expect it will be merged, I only intend it as a guide. The primary performance limiter seems to be the use of HashSet, or more generally the act of making the itemSet distinct.
This is the same issue as Jira request TAP-575.