alonso.torres 53e1b7634f 🐛 Give a swapped child that stops filling its own component's size
A copy's child swapped for another component and set to fill takes the
size the layout gives it. When a sync of its main set it back to fix, the
swapped head only took its placement attributes and kept the filled size,
where a full sync gives it its own component's size. A head with
untouched geometry that stops filling in a direction is now synced with
its own component; the sync context carries the file and the libraries
for it.

Benchmark (scripts/bench-components, ms, lower 2.5% quantile):

|                             :world | :baseline |   :now |   :mean | :ratio |
|------------------------------------+-----------+--------+---------+--------|
|  deepest-edit-through-three-levels |    35.215 | 19.042 |  21.954 |   0.54 |
| edit-through-a-chain-of-dependents |    68.931 | 39.697 |   41.13 |   0.58 |
|         library-update-into-copies |    83.083 | 49.796 |  50.704 |    0.6 |
|        main-edit-among-many-shapes |     4.837 |    2.3 |   2.482 |   0.48 |
|           main-edit-into-10-copies |      1.79 |  1.061 |   1.101 |   0.59 |
|          main-edit-into-100-copies |    15.415 | 10.157 |  10.441 |   0.66 |
|         main-edit-into-1000-copies |   153.086 | 96.248 | 101.459 |   0.63 |
|         variant-switch-into-copies |    32.052 |  21.72 |  22.289 |   0.68 |

Common suite: 2373 tests, 0 failures.

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:47 +01:00
..
2026-11-10 20:21:16 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00