<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: Spreadsheet takes long to open"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130795#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: Spreadsheet takes long to open"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130795">bug 130795</a>
from <span class="vcard"><a class="email" href="mailto:noelgrandin@gmail.com" title="Noel Grandin <noelgrandin@gmail.com>"> <span class="fn">Noel Grandin</span></a>
</span></b>
<pre>(In reply to Luboš Luňák from <a href="show_bug.cgi?id=130795#c21">comment #21</a>)
<span class="quote">> 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</span >
The primary call-site in this bug is
QueryEvaluator:: compareByStringComparator
which is this code:
<a href="https://opengrok.libreoffice.org/xref/core/sc/source/core/data/table3.cxx?r=0a9b68c9#2687">https://opengrok.libreoffice.org/xref/core/sc/source/core/data/table3.cxx?r=0a9b68c9#2687</a>
If I switch that to
// fallback
const CharClass& rCharClass = *ScGlobal::getCharClassPtr();
rtl_uString* pTmpRHS =
const_cast<rtl_uString*>(rItem.maString.getDataIgnoreCase());
bOk = rCharClass.uppercase(*pValueSource2) ==
OUString::unacquired(&pTmpRHS);
This document takes twice as long to load.
Possibly you had something else in mind?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>