[Libreoffice-bugs] [Bug 130795] FILEOPEN: Spreadsheet takes long to open

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 11 06:51:04 UTC 2021


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

Luboš Luňák <l.lunak at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |l.lunak at collabora.com

--- Comment #21 from Luboš Luňák <l.lunak at collabora.com> ---
The real problem here is not that SharedStringPool would be slow, but that
ScTable::ValidQuery()/QueryEvaluator calls it at all. If you look at how it's
used, those strings are interned only to do a "fast" case-insensitive
comparison _once_, but interning a string apparently takes way longer than a
normal comparison would. The concurrent hashmap change is band-aid (at least in
this case), the real fix should be removing the SharedStringPool usage from
QueryEvaluator. Bug #144249 has a similar problem.

-- 
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/20210911/31781071/attachment.htm>


More information about the Libreoffice-bugs mailing list