ad3fa69eeb
when we have lots of pages, we trigger a O(n^2) loop. Do two things to reduce this (a) be smarter about recalculating page numbers, so we only recalculate the set of page numbers that need recalculating (b) duplicate the last page repeatedly, instead of the first page, so we don't recalculate all the page numbers for each page we duplicate Change-Id: I40aca812b47a9551039c5855b1c8d26f5f171f41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172942 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins |
||
---|---|---|
.. | ||
android | ||
animations | ||
apple_remote | ||
avmedia | ||
basegfx | ||
basic | ||
bridges/emscriptencxxabi | ||
canvas | ||
codemaker | ||
com/sun/star/uno | ||
comphelper | ||
connectivity | ||
cppcanvas | ||
cppu | ||
cppuhelper | ||
cppunittester | ||
dbaccess | ||
desktop | ||
docmodel | ||
drawinglayer | ||
editeng | ||
embeddedobj | ||
filter | ||
formula | ||
fpicker | ||
framework | ||
helpcompiler | ||
i18nlangtag | ||
i18npool | ||
i18nutil | ||
jvmaccess | ||
jvmfwk | ||
LibreOfficeKit | ||
linguistic | ||
o3tl | ||
oox | ||
opencl | ||
osl | ||
package | ||
registry | ||
rtl | ||
sal | ||
salhelper | ||
sax | ||
sfx2 | ||
sot | ||
static/unoembindhelpers | ||
store | ||
svl | ||
svtools | ||
svx | ||
systools | ||
test | ||
toolkit | ||
tools | ||
typelib | ||
ucbhelper | ||
uno | ||
unoidl | ||
unotest | ||
unotools | ||
vbahelper | ||
vcl | ||
xmloff | ||
xmlreader | ||
xmlscript | ||
default.rc | ||
IwyuFilter_include.yaml | ||
postmac.h | ||
postwin.h | ||
premac.h | ||
prewin.h | ||
version.hrc |