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

[REBOL] Re: REBOL embedded $variables regexp/no

From: lmecir:mbox:vol:cz at: 10-Dec-2002 21:21

Hi Gabriele, ----- Original Message ----- From: "Gabriele Santilli"
> It's the [... | skip] that I don't like, because in most cases you > can write a faster rule.
My measurements show something different. I compared the speed of your two-rule PATTERN-REPLACE and my one-rule improved version.
> Anyway, it's a matter of taste; I don't think we are talking about > a great difference in speed.
That is probably correct. Nevertheless, the worst slow-down with SKIP is to copy one character at a time and then append it to the result. If we eliminate that, we can be faster. Ciao -L