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: [email protected]
Reporter: [email protected]
> 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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs