]> git.lyx.org Git - features.git/commit
Fix expensive thinko: operator++ returns a reference, not a copy
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Nov 2022 23:06:18 +0000 (00:06 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Nov 2022 23:12:40 +0000 (00:12 +0100)
commitec151de2cc530a9118517ac9299e30c17cb62255
tree77b0fd0dcf5fe30529bbd7b7e4d45e67269321a8
parent5691863043f8cc0bedba17fb8818dcc5c163d76a
Fix expensive thinko: operator++ returns a reference, not a copy

This accounts for 45% of the row breaking time on the (huge) paragraph
of the MWE in bug #12598.

Fixes part of bug #12598.
src/TextMetrics.cpp