diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-04 00:04:10 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-04 00:11:34 +0200 |
commit | bb9b6cb4e6cfc5fbb4733abb8e9f5758987c197a (patch) | |
tree | 35389756d96d6c30e4ad2eb469f1ffff15b57561 /writerfilter/source/ooxml/OOXMLDocumentImpl.hxx | |
parent | a21ec27fe5d8de3455522deeedc2dc43cb41c073 (diff) |
Perf-sc: tdf#100709 avoid segment tree with ScMultiSelIter where possible
* create ScFlatBoolRowSegments in ScMultiSelIter only if necessary
* create ScMultiSelIter only for affected columns in
ScTable::MergeSelectionPattern() using ScMarkData::GetMarkedColSpans()
* obtaining a full ScRangeList in ScMarkData::GetMarkedColSpans() was
completely unnecessary, use existing selection containers instead and also
if possible avoid creating a segment tree that needs to be converted to
vector, directly use a vector instead
Improvement:
* under ScDocShell::Load()
previous: Ir: 26 454 571 612
now: Ir: 18 811 368 362
* thereof under ScTable::MergeSelectionPattern()
previous: Ir: 4 104 164 533
now: Ir: 664 738 808
Change-Id: I95895a3a000c1a0b7895fb0696b0889c6d6b4d49
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLDocumentImpl.hxx')
0 files changed, 0 insertions, 0 deletions