[EMAIL PROTECTED] wrote:
> Maybe Rebol
> has no way of "compiling" a statement and interprets it each time?
Exactly, AFAIK.
> Note that just comparing a C example of incrementing an integer
> a million times vs the Rebol equivalent shows that Rebol is about
> 4 times slower with this task - again, not totally unexpected but
> it does seem like a lot slower.
Well, if you consider interpretation, it's not that much slower.
> Another wierd thing I don't understand is if I replace the
> 'while loop in the Rebol example with a 'for loop, the result
> is around 20 seconds! Thus, using a 'for loop in Rebol is
> slower than using a 'while loop which doesn't seem right to
FOR is written in REBOL while WHILE is native.
source for
source while
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL Programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/