summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorJonathan Clark <jonathan@libreoffice.org>2024-09-03 05:49:28 -0600
committerJonathan Clark <jonathan@libreoffice.org>2024-09-03 21:32:00 +0200
commit6594b279a926e497261a4e802a5e74d2f3b97369 (patch)
tree6e7dfceab146108c0613a693832500e13bb5adb5 /sd/source
parent7d3251adf2e95768c9169b92c8b3366c95f71bfa (diff)
tdf#92064 sw: Improve large paragraph layout performance
This change includes the following scalability improvements for documents containing extremely large paragraphs: - Reduces the size of layout contexts to account for LF control chars. - Due to typical access patterns while laying out paragraphs, VCL was making O(n^2) calls to vcl::ScriptRun::next(). VCL now uses an existing global LRU cache for script runs, avoiding much of this overhead. Change-Id: Iee03938683c95776a817d4819fe9a43c65a7c3fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172801 Tested-by: Jenkins Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Diffstat (limited to 'sd/source')
0 files changed, 0 insertions, 0 deletions