Commit 92f5d5b
committed
A5-1-9: Address param confusion
The hash cons value for parameters was incorrectly calculated with
parameter uses (e.g accesses to the parameter). The correct
approach is to use the variable name and type.
This caused performance issues, because the hash cons for a
function was made up of all combinations of the accesses to the
parameters. For lambdas with many parameters and many accesses,
this was problematic.1 parent e176bb1 commit 92f5d5b
1 file changed
+13
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
1285 | 1286 | | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | 1289 | | |
1289 | 1290 | | |
1290 | 1291 | | |
1291 | 1292 | | |
1292 | | - | |
| 1293 | + | |
1293 | 1294 | | |
1294 | | - | |
1295 | | - | |
| 1295 | + | |
| 1296 | + | |
1296 | 1297 | | |
1297 | 1298 | | |
1298 | 1299 | | |
| |||
1302 | 1303 | | |
1303 | 1304 | | |
1304 | 1305 | | |
1305 | | - | |
| 1306 | + | |
1306 | 1307 | | |
1307 | 1308 | | |
1308 | 1309 | | |
| |||
0 commit comments