[Libreoffice] Patch for MarkManager

Christoph Lutz chrlutz at googlemail.com
Tue Sep 6 08:36:18 PDT 2011


Hi Björn,

today I managed to improve the patch again. The patch now speeds up
our mailmerge-Szenario enormously and seems to eliminate the
exponential waste of cpu-cycles. Would you please have a look at it?

here some measurings:

MailMerge-Time (in ms) without patch for 10, 50, 100, 150 datasets:
2793, 11821, 28608, 64395
MailMerge-Time (in ms) with first patch for 10, 50, 100, 150 datasets:
2561, 11044, 26226, 55812
MailMerge-Time (in ms) with this patch for 10, 50, 100, 150 datasets:
1838, 7357, 14413, 21558

2011/9/6 Christoph Lutz <chrlutz at googlemail.com>:
> 2011/9/5 Bjoern Michaelsen <bjoern.michaelsen at gmail.com>:
>> On Sun, 4 Sep 2011 15:05:32 +0200
>> Christoph Lutz <chrlutz-gM/Ye1E23mwN+BqQ9rBEUg at public.gmane.org> wrote:
>>
>>> this is a patch we wrote during the libreoffice hackfest 2011 for
>>> sw/source/core/inc/MarkManager.hxx and sw/source/core/doc/docbm.cxx
>>> which improves speed of mailmerge. Bjoern already knows details so he
>>> might be the one to review the patch... The patch could be applied
>>> under the lgpl.
>>
>> Patch looks good, Just to clarify before pushing, is it contributed
>> under:
>>  MPL 1.1 / GPLv3+ / LGPLv3+
>> as per http://wiki.documentfoundation.org/License_Policy ?
>

That's OK!

Best,
Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: markmanager_plusplus.patch
Type: text/x-patch
Size: 4557 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110906/830a7d84/attachment-0001.bin>


More information about the LibreOffice mailing list