summaryrefslogtreecommitdiff
path: root/sc/Makefile
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-02 17:16:17 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-03 12:15:58 +0200
commit313be607903a381830600c0a60b2e299fcaec685 (patch)
tree49b57786654552e6d000ab3e7545b34c5b538fbe /sc/Makefile
parenta99a63287f96290f5641a4216432f7b637402ea6 (diff)
Related: cool#6911 opt to skip SdrObject::GetViewContent() when possible
as seen in: https://user-images.githubusercontent.com/122848/253732636-3dfeddad-f146-4268-bde5-85788b72d539.svg SdrPageView::DrawLayer takes ~11% of the time when scrolling with many comments in calc, but none of these comments actually get drawn, all this effort is to find that they are not to be drawn. optimize ViewContactOfPageHierarchy impl over its parent impl to skip SdrObject::GetViewContent(), etc if the SdrObject isn't shown on the target layer. ViewObjectContactOfSdrobject::getPrimitive2DSequenceHierarchy does the same check, but after a set of allocations which is expensive in the case of SdrCaptions in a calc internal layer where there can be thousands of such objects. Change-Id: Iad86c77e8fa71ec90f54ce06d5a27c0380fb03ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155269 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/Makefile')
0 files changed, 0 insertions, 0 deletions