[Libreoffice-bugs] [Bug 113539] FILEOPEN ODT: Slower opening of file containing a large table (25 rows 2000 columns)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu May 31 21:19:28 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=113539
--- Comment #10 from Björn Michaelsen <bjoern.michaelsen at libreoffice.org> ---
Hi all,
so IIRC the old implementation was unsafe at any speed: It had shared ownership
of the object an manually tracked it from multiple places (badly).
So whatever the solution to this is, its not reverting to that.
Both the before and after the path, the object was/is heap allocated. The
shared_ptr timingwise just adds synchronization. The way forward would be one
of:
- unfsck this design, so that in doesnt need shared ownership
- make whatever is using massive amounts of unocrsrs in these example files use
something more lowlevel (and faster) instead
Clearly 1/ is the best long-term solution, but it might be quite tricky to
unwind this hairball (though admittedly I havent look at trying that yet).
--
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/20180531/aa66a4e1/attachment.html>
More information about the Libreoffice-bugs
mailing list