Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Fast way to strip characters

From: petr:krenzelok:seznam:cz at: 7-Oct-2009 17:26

Peter W A Wood napsal(a):
> Here's a slightly extended test including Pekr's stripping the > unwanted characters in place. The results show for this test: > > 1. Trim/with is almost 10 times faster than parse. >
I would stop here, and not read further on. What are such comparisons good for at all? replace or trim, both are just small functions, handy for just few cases. Add one small more complicated bit, and you are out of luck. -pekr-