summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-09-15 13:49:11 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-09-16 11:29:19 +0200
commitd13b63a9859d653d1aba688a56590aa0ef24b89c (patch)
treed2c4a7d4a47d19661330e636bd7b64b9feb0cc3d /desktop
parent10a556f9e8653f5d94fba2703d8320639c64f5c7 (diff)
optimize SwRegionRects::Compress()
This function gets called on modifying documents, and it shows up noticeably e.g. when profiling editing in Online. The code repeatedly restarts the whole process on most changes, but in practice this seems to only lead to repeated checks with the same outcome. So finish the whole compression and try again only at the end, if deemed needed. And even there I'm not sure if it's actually ever needed, since I couldn't trigger such a case in practice. Change-Id: I15b0a83c6865bad21fe60a7e9ca0b87ceea5b489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122156 Tested-by: Luboš Luňák <l.lunak@collabora.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'desktop')
0 files changed, 0 insertions, 0 deletions