mirror of
https://github.com/github/codeql.git
synced 2026-07-01 09:35:42 +02:00
Add change note for instance-attribute type-tracking performance fix
This commit is contained in:
committed by
GitHub
parent
4d327c8499
commit
de8f489812
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Type tracking of values stored in instance attributes and read from outside the class (for example `instance.attr` where the value was assigned to `self.attr` in a method) no longer relies on a dedicated instance type-tracker. This avoids a structural mutual recursion that could cause catastrophic query slowdowns on some OOP-heavy code bases. Such reads are now resolved using local flow from the constructor call, which is slightly less precise for instances that flow across a call or return before being read.
|
||||
Reference in New Issue
Block a user