[Gambas-user] trimming extra spaces from within a string.

Christof Thalhofer chrisml at deganius.de
Mon Nov 9 21:43:54 CET 2020


Am 09.11.20 um 19:38 schrieb Bruce Steers:

> do you think using Replace() would be faster than my initial InTrim()
> function method ?

It's ultra-ultra-ultra-...repeat 1.000.000 times ...slow.
I write this mail while it is running in the background ... 'til now, I
stopped it.

It needs about 1.4 seconds for a 314 k text. For the test which does the
text 500 times it would need about 12 minutes.

:-)

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InTrim.png
Type: image/png
Size: 48662 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201109/82f4b342/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201109/82f4b342/attachment-0001.sig>


More information about the User mailing list