mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
The letters of a text keep, for a paragraph with no letters, the index of its run among the runs. It was counted after the run was added to the transient list, so it pointed one past the run: at the next paragraph's run, or past the end when the empty paragraph came last. Comparing the styles of such a copy with its main failed, and importing the Penpot Design System template stopped in the migration that recomputes old text overrides. Benchmark (lower quantile, ms): | world | baseline | now | mean | ratio | |------------------------------------+----------+---------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 21.783 | 24.854 | 0.62 | | edit-through-a-chain-of-dependents | 68.931 | 47.467 | 53.332 | 0.69 | | library-update-into-copies | 83.083 | 70.859 | 102.070 | 0.85 | | main-edit-among-many-shapes | 4.837 | 3.322 | 3.654 | 0.69 | | main-edit-into-10-copies | 1.79 | 1.200 | 1.572 | 0.67 | | main-edit-into-100-copies | 15.415 | 11.457 | 18.418 | 0.74 | | main-edit-into-1000-copies | 153.086 | 109.634 | 125.910 | 0.72 | | variant-switch-into-copies | 32.052 | 30.110 | 35.890 | 0.94 | AI-assisted-by: claude-opus-5-5