[Libreoffice-bugs] [Bug 115829] Search and replace is slow in a large document compared to LibO5.0.0.1

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 8 16:37:45 UTC 2018


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

--- Comment #13 from Eike Rathke <erack at redhat.com> ---
(In reply to Buovjaga from comment #11)
> Well, I don't understand why this should suddenly turn to be about
> diacritics, but maybe Eike can elaborate.
Because when ignoring diacritics (Diacritic-sensitive not checked) an extra
transliteration is applied to all text to be searched that decomposes the
Unicode character string to remove the diacritics and keep the base letter, for
example Äpfel -> A"pfel -> Apfel, and that is a heavy operation for large
amounts of text. When replacing text it may get even worse because (a quite
awkward implementation of) an indexed sequence is set up to be able to map
search positions to replace positions.

-- 
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/20180308/948f7a2d/attachment.html>


More information about the Libreoffice-bugs mailing list