do not use ScSortedRangeCache inefficiently

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 11 May 2022 09:51 UTC

If the amount of data or size of the formula group is small, the caching is probably not worth it. And if rows are not absolute, then each formula cell would use a different range instead of reusing the cache.

Change-Id: I42a82aaa5f4ffccc63e527793f46fc52fd539af6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134129

4c8f4390c846 do not use ScSortedRangeCache inefficiently
sc/inc/queryiter.hxx | 7 +++++--
sc/source/core/data/queryiter.cxx | 33 ++++++++++++++++++++++++++++-----
sc/source/core/inc/interpre.hxx | 4 +++-
sc/source/core/tool/interpr1.cxx | 29 ++++++++++++++++++++---------
sc/source/core/tool/interpr4.cxx | 23 +++++++++++++++++++++++
5 files changed, 79 insertions(+), 17 deletions(-)

Upstream: cgit.freedesktop.org


  • Share