From afd918a81bc2dce4830bc94cbd88b9038f5715ff Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 19 Sep 2021 11:13:53 +0200 Subject: introduce SfxItemSetFixed and use it in DefaultProperties DefaultProperties::SetObjectItemSet is very hot when loading shapes, and a large chunk of that cost is allocating the pool item array. So use a template class to allocate the array in-line to the class, which means it can be allocated on-stack. Change-Id: Ic53b41f35784726362de38fceb35f8634cddf0a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122310 Tested-by: Jenkins Reviewed-by: Noel Grandin --- solenv/vs/LibreOffice.natvis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solenv/vs') diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis index ee4171bac9cf..0962c1c441fb 100644 --- a/solenv/vs/LibreOffice.natvis +++ b/solenv/vs/LibreOffice.natvis @@ -340,7 +340,7 @@ {{size={m_nCount,d}}} - + -- cgit