sc/inc/compiler.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a68ad22fbef20542284354732ee561efd40f41fa
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Sep 16 15:29:20 2022 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Tue Sep 20 15:49:59 2022 +0200

    speed up large sheet with lots of conditions
    
    shaves 10% off view load time
    
    Change-Id: I51078ef81613faa2f8c37530fb7dc77b73192525
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140070
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>
    (cherry picked from commit 7e829725105897da822fe4b0d09c4a04a2666132)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139987
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 5f3b6354c967..585a3c86a9ae 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -33,6 +33,7 @@
 #include <queue>
 #include <vector>
 #include <memory>
+#include <unordered_set>
 #include <set>
 #include <com/sun/star/uno/Sequence.hxx>
 #include <o3tl/typed_flags_set.hxx>
@@ -323,7 +324,7 @@ private:
         formula::FormulaTokenRef operation;
     };
     std::vector< PendingImplicitIntersectionOptimization > 
mPendingImplicitIntersectionOptimizations;
-    std::set<formula::FormulaTokenRef> mUnhandledPossibleImplicitIntersections;
+    std::unordered_set<formula::FormulaTokenRef> 
mUnhandledPossibleImplicitIntersections;
 #ifdef DBG_UTIL
     std::set<OpCode> mUnhandledPossibleImplicitIntersectionsOpCodes;
 #endif

Reply via email to