Ooops, I forgot to say that my tests are all on MX6.1, of course on CF5
'iif' is painfully slow.

TK
  -----Original Message-----
  From: Philip Arnold [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 11, 2004 6:11 PM
  To: CF-Talk
  Subject: RE: Which is quicker

  > I don't know why people don't like iif (immediate if), it is
  > as quick as cfif and takes only one line. For simple things,
  > like "if x < y print true else print false", I think using
  > iif makes code shorter without sacrificing clarity and speed.
  >
  > If you don't believe iif is fast then I encourage you to
  > write a small test and see for yourself.

  This depends on the version of CF

  If you're running pre-MX, then it's 2.5 times slower
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to