Abdelrazak Younes wrote:

Helge Hafting a écrit :
[...]

I see that Helge Hafting has created bug 2287 for that so Helge, maybe you could attach this patch to this bug? And maybe test if there is any improvement with your use case?


This patch helps a lot, although there is one slow case left.


Very good. The remaining slowness might be related to the vector::reserve done at the construction as pointed by Andre Poenitz. Could you try to comment those lines out (lines 80 and 84 of Paragraph.C) and see if things improve?

    PliVector_.reserve(VECTOR_RESERVE);

I commented them out, compiled, and found no difference.
Splitting an item in a bullet list is still slow, in cases where some later bullet
have an image.

Also, appending a single letter to a bullet item where an image is the last thing in the paragraph is still slow too. Appending more writing after the first letter is ok,
it is the very first one that is the problem.

Helge Hafting

Reply via email to