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

[REBOL] Re: order of evaluating expressions..

From: pwawood::mango::net::my at: 24-Dec-2004 19:16

Hi Romano
> The problem is that parens slow down Rebol.
Is it really a significant slow down?
>> do [
[ st: now/time/precise [ loop 100000 [ 2 * 3 + 1] [ print now/time/precise - st [ st: now/time/precise [ loop 100000 [ 1 + (2 * 3)] [ print now/time/precise - st [ ] 0:00:00.268024 0:00:00.303339 Regards Peter PS I ran the above test on my iBook G3 900mhz , surprisingly the difference was less on my Thinkpad Pentium 1000mhz which returned 00.109 & 00.125 for the same test