I ran a test on 500,000 records, testing between a single if-then vs. a single switch, and I found that the if-then was faster. It was noticeably faster, but not hugely faster. I do not remember the exact difference - sorry.
However, I do not know if switch has an advantage with complex, multiple-choice decisions. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jbv Sent: Wednesday, May 18, 2005 11:26 AM To: How to use Revolution Subject: Which one is faster ? Hi list, Which option is faster : switch staements or nested if-then-else ? Has anyone run tests on this ? Thanks, JB _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution