On Sat, Apr 01, 2006 at 09:18:42AM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit :
... > The bad news is that the slowness came back... :-( > This means that the culprit is somewhere in setCounter. This method > looks awfully complicated to me and I think I will just stop searching > for now as I guess my eventual contribution would not even be considered. Looking at the setCounter and updateCounters code... what about short-circuiting execution of setCounter if the paragraph has no label? I.e. labeltype == LABEL_NO_LABEL. You could do that by returning from setLabel at the start for a labelless paragraph. I think it would be harmless. After all, in a typical document, standard paragraphs are the vast majority. - Martin
pgpRKDZCG0kbP.pgp
Description: PGP signature