Commit 0ca3f60
committed
Python: Fix bad join in
Two related fixes. First, I removed the pragmas from `appliesTo`, as
these were actually causing a huge cartesian product to be created in
`RangeIterationVariableFact.pointsTo` and
`ReModulePointToExtension.pointsTo`. On `python/cpython`, at least, this
caused a reduction of tuples from ~2.7 billion to ~2 billion.
However this also caused `PointsToContext.fromCall/2` to get a worse
join-order, so I inlined the definition and added a pragma _there_, and
that fixed the issue.PointsToContext.appliesTo
1 parent cd62cda commit 0ca3f60
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 190 | + | |
195 | 191 | | |
196 | 192 | | |
197 | 193 | | |
| |||
0 commit comments