[REBOL] Re: Storing a logical condition
From: tim:johnsons-web at: 13-Oct-2003 17:51
* Brett Handley <[brett--codeconscious--com]> [031013 16:42]:
> Hi Tim,
>
> The ALL function is a candidate too:
>
> either all b ...
>
> Like Ingo's observation, it is significantly faster too - significant if you
> have a million iterations ;^)
>
> >> timeit [repeat i 1000000 [do b]]
> == 0:00:04.387
> >> timeit [repeat i 1000000 [all b]]
> == 0:00:02.604
Cool! Who woulda thunk it?
That's a good tip.
thnx
tim
> Brett.
>
> --
> To unsubscribe from this list, just send an email to
> [rebol-request--rebol--com] with unsubscribe as the subject.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.alaska-internet-solutions.com
http://www.johnsons-web.com