You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
This test will take an extremely long time to complete, and scales non-linearly with the number of if statements. When walking a complex part of the call-graph which doesn't contain any references to the variable, it ends up doing an exhaustive search in RedundantAssignmentIssue.GatherVisitor.ProcessNode.
My initial thought was to just flag variables without any non-assignment references, but A slight variation on the test:
This is probably easiest to explain by showing the test I wrote:
corngood@c35584b
This test will take an extremely long time to complete, and scales non-linearly with the number of if statements. When walking a complex part of the call-graph which doesn't contain any references to the variable, it ends up doing an exhaustive search in RedundantAssignmentIssue.GatherVisitor.ProcessNode.
My initial thought was to just flag variables without any non-assignment references, but A slight variation on the test:
corngood@bf5fe2a
shows the same behaviour can occur even when a reference exists.
The text was updated successfully, but these errors were encountered: