[Libreoffice-bugs] [Bug 119650] FILESAVE: It takes >2:40 to save a small spreadsheet with comments and more than 400Mb in extra memory usage

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 26 13:14:17 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=119650

--- Comment #11 from Noel Grandin <noelgrandin at gmail.com> ---
I have done as much as I can here, right now. 

There are two paths forward, for anyone else who wants to work on this:

(A) I can see that we are still doing at least 3 times as much work as we
should be, constructing EditEngine stuff - we are laying out the text for each
caption 3 times.

(B) The better approach would be to stop the code from constructing and laying
out every single caption, which is not necessary, but instead use the
ScCaptionInitData for exporting. However, there is some weird interaction that
I could not find the source off, where someone constructing the ScCaption
internal data registers the caption with something, so that if I disable the
"construct every single caption on export" logic, we end up losing all the
captions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190426/f7ff0137/attachment.html>


More information about the Libreoffice-bugs mailing list