Commit 0e9a488
Better support for maps:map
Summary:
Elab the lambda in `maps:map/2` once for every key/value pair of the given map type, so as to keep the precise association between key and result.
This effectively makes the complexity O(map_fields * clauses) instead of just O(clauses).
However, this shows no noticeable performance impact in production.
Reviewed By: TD5
Differential Revision: D85590251
fbshipit-source-id: 266a4d3f4f5b71ab738ee9c799dda7e30161560a1 parent f37f27c commit 0e9a488
File tree
1 file changed
+1
-31
lines changed- crates/elp/src/resources/test/eqwalizer_tests/check
1 file changed
+1
-31
lines changedLines changed: 1 addition & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3255 | 3255 | | |
3256 | 3256 | | |
3257 | 3257 | | |
3258 | | - | |
3259 | | - | |
3260 | | - | |
3261 | | - | |
3262 | | - | |
3263 | | - | |
3264 | | - | |
3265 | | - | |
3266 | | - | |
3267 | | - | |
3268 | | - | |
3269 | | - | |
3270 | | - | |
3271 | | - | |
3272 | | - | |
3273 | | - | |
3274 | | - | |
3275 | | - | |
3276 | | - | |
3277 | | - | |
3278 | | - | |
3279 | | - | |
3280 | | - | |
3281 | | - | |
3282 | | - | |
3283 | | - | |
3284 | | - | |
3285 | | - | |
3286 | | - | |
3287 | | - | |
3288 | | - | |
| 3258 | + | |
0 commit comments