sc/inc/compiler.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit d2184f3776b4528b7203b6789d0b185c5ea47cb6 Author: Noel Grandin <[email protected]> AuthorDate: Fri Sep 16 15:29:20 2022 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Sep 17 08:14:41 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]> 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
