[Libreoffice-bugs] [Bug 129166] XCellRangeData::setDataArray is many times slower when data contains some empty strings

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 5 12:51:14 UTC 2019


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

--- Comment #9 from Noel Grandin <noelgrandin at gmail.com> ---
Ha :-)


Our data structures are very heavily optimised for continuous runs of data of
the same type.

In this case, the first macro hits the heavily optimised path and runs very
fast.
The second macro introduces discontinuities (because every 10th element is a
different type), which pushes us off the optimised path.

In the first case, we end up with one block of MDDS data, and in the second
case, we get a new block of MDDS data every 10th block, which adds up really
quickly.

-- 
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/20191205/721873ec/attachment.html>


More information about the Libreoffice-bugs mailing list