mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Use a `strictcount` to identify whether there is exactly one feature or not. If so, we use it. If not, we use the empty string. Add context to ensure we filter the set of data flow nodes down to only the set of endpoint nodes. This performance optimisation avoids calculating the Cartesian product of data flow nodes and feature names, but it does not avoid calculating the (slightly smaller) Cartesian product of endpoint nodes and feature names. Product size = number of endpoint nodes * number of feature names. At time of writing there are 8 feature names.