sw/inc/bparr.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 88e78230dedb0767e2f5067961b66a3858b3b7a5
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Oct 21 15:56:55 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Oct 22 08:31:56 2021 +0200

    re-arrange BlockInfo a little
    
    so that it is more likely that the interesting data is next to each
    other and thus in CPU cache (i.e. the control fields and the first few
    elements of the array)
    
    Change-Id: I50e46df3f639899e39f1b7733cf8e754d2435b4d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124038
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/inc/bparr.hxx b/sw/inc/bparr.hxx
index f4c1c47d6da1..c9bc8d041ab1 100644
--- a/sw/inc/bparr.hxx
+++ b/sw/inc/bparr.hxx
@@ -57,10 +57,10 @@ public:
 struct BlockInfo final
 {
     BigPtrArray* pBigArr;              ///< in this array the block is located
-    std::array<BigPtrEntry*, MAXENTRY>
-                 mvData;               ///< data block
     sal_Int32    nStart, nEnd;         ///< start- and end index
     sal_uInt16   nElem;                ///< number of elements
+    std::array<BigPtrEntry*, MAXENTRY>
+                 mvData;               ///< data block
 };
 
 class SW_DLLPUBLIC BigPtrArray

Reply via email to