[PATCH 3-5] fdo#47644 performance regression on largish .doc

Michael Meeks michael.meeks at suse.com
Fri May 11 13:06:56 PDT 2012


On Fri, 2012-05-11 at 16:32 +0100, Caolán McNamara wrote:
> > 	So - how about the attached diff, hopefully rather easier to review &
> > back-port :-)
> 
> Seems sane, though it probably makes sense to tweak the trigger for
> calling buildPageChainCache as the units for nNew there are in bytes
> while the define is in "pages". And we might want to avoid calling it in
> the case of a small relative jump in pages forward.

	So I pushed this to master; I attach a speculative back-port to 3.5 -
it gives the rest of the rather substantial speedup we need vs. where we
were; I'd like to get it in. I also tested the
'get-position-of-byte-after-the-end' code path which seems to work
nicely too.

	Thanks,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot


More information about the LibreOffice mailing list