diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-17 09:13:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-22 09:36:14 +0200 |
commit | aabcf90da9a90240bddc140485f210dcab66724c (patch) | |
tree | e4858e659a3e83db634bbf33674a426b421d065a /sc/Library_sc.mk | |
parent | 235c54e115b66c880d3da0b8018f8ef29d20bc42 (diff) |
tdf#97177 speedup loading of large ODS file
drop ScSimpleRangeList and just use ScRangeList, which saves us a
conversion step.
Then teach ScRangeList to do a simple merge, since we are loading in row
order, and can just check the last few entries.
Then fix a case of optimisation doing the wrong thing in
ScAttrArray::SetPatternAreaImpl where std::vector::reserve repeatedly
resizes the data array and breaks the normal doubling-resizing inside
vector.
On my machine the time goes from 5.4s to 4.8s
Change-Id: I68a2204e0c02b673bbfe8aa0fdbe126e53ddbb41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96516
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r-- | sc/Library_sc.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index 47b801f799c4..ff649cf6a9a9 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -283,7 +283,6 @@ $(eval $(call gb_Library_add_exception_objects,sc,\ sc/source/core/tool/scmatrix \ sc/source/core/tool/scopetools \ sc/source/core/tool/sharedformula \ - sc/source/core/tool/simplerangelist \ sc/source/core/tool/stringutil \ sc/source/core/tool/stylehelper \ sc/source/core/tool/subtotal \ |