In mergeTokensByRowId, each tokensByRowId[rowId] = tokens assignment
triggered the didSet observer (Swift Dictionary is a value type), causing
tokenAttributedStringsByRowId.removeAll(), clampHorizontalOffsets(), and
setNeedsDisplayForVisibleBounds() to fire N times — once per patched row.
This defeated the incremental cache invalidation the method intended and
multiplied layout work for large token patches.
Add a _suppressTokensByRowIdDidSet flag so the didSet observer is skipped
during the merge loop. The method already performs its own targeted cache
invalidation (removeValue per row) and calls clampHorizontalOffsets() and
setNeedsDisplayForVisibleBounds() once at the end.