Repository navigation
Commit cc39314
committed
Split only shapes whose union values hold no array when accepting them
A split shape is accepted member by member, which split the arrays among
its values again, so shapes nested in each other split into
exponentially many shapes (nested-nullable-shape-accepts: 213M to 23.8B
instructions). Scalar unions, which [$scalar] for list<A>|list<B> needs,
still split.
Amp-Thread-ID: https://ampcode.com/threads/T-01a21efd-7346-7575-a0dd-5474e0f5c3291 parent a8b3d2a commit cc39314
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
| |||
0 commit comments