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

[REBOL] Re: Newbie expression question

From: brett:codeconscious at: 12-Oct-2003 13:00

> Try these: > > if (length? tlist/data) > 1000 > or > if 1000 <= length? tlist/data
The third option is: if greater? length? tlist/data 1000
> (I always go for the (...) solution as I can't be bothered with reversing > boolean operations. Maybe this is a good starting point for another of
> idiom discussions),
For speed, my brief timing tests (using Command) indicate that the reversed boolean style is faster than the other two. Regards, Brett.