[REBOL] Re: The evaluation semantics
From: gabriele::colellachiara::com at: 30-Aug-2005 12:38
Hi Boleslav,
On Tuesday, August 30, 2005, 11:47:08 AM, you wrote:
BB> May seem strange, because first option must be internally translated, but
BB> it's faster then 'add.
>>> x: now/time/precise loop 10000000 [1 + 1] probe now/time/precise - x
BB> 0:00:02.719
BB> == 0:00:02.719
>>> x: now/time/precise loop 10000000 [add 1 1] probe now/time/precise - x
BB> 0:00:03.86
BB> == 0:00:03.86
The reason is that + is somewhat treated like a keyword, while ADD
is not.
Regards,
Gabriele.
--
Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/