alonso.torres 58ee5519d3 🐛 Carry no switched text content that shows what the new copy shows
A copy text can hold a typography file without a typography id, which
the reference rule counts as a typography override. A switch carried it,
and merging the overrides then dropped the reference, since no unit the
typography sets was carried. The merged content showed the letters and
styles of the new copy and differed from it only by nil typography keys,
yet the switch wrote it and marked the content group touched with no
text group behind it.

A text content the switch would carry is now compared with the new
copy's by its letters and styles, and one that differs in none is not
carried.

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

|                             :world | :baseline |   :now |  :mean | :ratio |
|------------------------------------+-----------+--------+--------+--------|
|  deepest-edit-through-three-levels |    35.215 | 19.246 | 20.089 |   0.55 |
| edit-through-a-chain-of-dependents |    68.931 | 38.107 | 39.639 |   0.55 |
|         library-update-into-copies |    83.083 | 46.922 | 48.603 |   0.56 |
|        main-edit-among-many-shapes |     4.837 |  1.958 |  2.141 |    0.4 |
|           main-edit-into-10-copies |      1.79 |   0.99 |  1.079 |   0.55 |
|          main-edit-into-100-copies |    15.415 |  9.335 |  9.733 |   0.61 |
|         main-edit-into-1000-copies |   153.086 | 92.647 |  96.02 |   0.61 |
|         variant-switch-into-copies |    32.052 | 20.358 | 20.802 |   0.64 |

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