Commit f00a356
committed
Correct the unionWith fusion wording
The fusion is a constant-factor change, not the elimination of the These
intermediate it was described as. Map.union still produces a per-key These
and the inner These is still built transiently for shared keys; what the
fusion removes is one of the two outer Map.map passes over the post-union
map, plus the wrap-then-remap of single-side currencies. Adjust the
changelog and drop Note [Single-pass unionWith] accordingly; the merge
structure is plain from the code.
For IntersectMBO/plutus-private#2243.1 parent dac80e8 commit f00a356
2 files changed
Lines changed: 3 additions & 11 deletions
File tree
- plutus-ledger-api
- changelog.d
- src/PlutusLedgerApi/V1/Data
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 405 | | |
413 | 406 | | |
414 | 407 | | |
| |||
454 | 447 | | |
455 | 448 | | |
456 | 449 | | |
457 | | - | |
458 | | - | |
459 | | - | |
| 450 | + | |
| 451 | + | |
460 | 452 | | |
461 | 453 | | |
462 | 454 | | |
| |||
0 commit comments