summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-09-16 15:29:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-17 08:14:41 +0200
commitd2184f3776b4528b7203b6789d0b185c5ea47cb6 (patch)
tree9f0737c8b1bda8fb331c69967a26b85720ba1aba
parent3752e8eaa81a50b018669d03dc59b3753a5248ef (diff)
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 <noel.grandin@collabora.co.uk>
-rw-r--r--sc/inc/compiler.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index f45b6c14b9f9..0097486c223c 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>
@@ -324,7 +325,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