[Libreoffice-bugs] [Bug 132388] New: BASIC: Replace is awfully slow
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 24 21:48:13 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132388
Bug ID: 132388
Summary: BASIC: Replace is awfully slow
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mikekaganski at hotmail.com
> Sub TestReplace
> n=100000
> s=Space(n)
> t=GetSystemTicks
> s=Replace(s, " ", "*",1,-1,1)
> Msgbox "time=" & (GetSystemTicks-t)
> End Sub
This code runs about 7 s on my system, and time increases as O(n^2). It must
run instantly.
--
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/20200424/844b6843/attachment.htm>
More information about the Libreoffice-bugs
mailing list