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

[REBOL] Re: Shortcut word available?

From: pwawood::gmail::com at: 16-Jun-2007 8:03

MAx I've noticed that you use compose quite a lot in your code. When you don't need selective evaluation, what is the advantage of 'compose over=20 'reduce? it seems to be slower.
>> b: "MAx"
== "MAx"
>> speedtest: [
[ st: now/time/precise [ loop 10000 [compose [(b)]] [ print now/time/precise - st [ st: now/time/precise [ loop 10000 [reduce [b]] [ print now/time/precise - st [ ]
>> do speedtest
0:00:00.138865 0:00:00.082445 Regards Peter On Friday, June 15, 2007, at 11:34 pm, Maxim Olivier-Adlhoch wrote: