realbasic-nug
[Top] [All Lists]

Re: Performance and faster idioms

To: REALbasic-NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Performance and faster idioms
From: Massimo Valle <maxduepuntozero at yahoo dot it>
Date: Mon, 28 Feb 2005 15:20:38 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
on 28-02-2005 14:28, Thomas Reed wrote:

> On Feb 28, 2005, at 2:35 AM, Massimo Valle wrote:
> 
>> I used microseconds to calculate the timing and I continue to get
>> about 3x
>> speed on if-then. Using ticks I get larger difference: 9x
> 
> That doesn't make any sense...  Why should the timing method you use
> influence the total speed of the test code?  I would think this means
> there's something wrong with the test or the calculations somewhere.
> 

True. Sorry I made an error on calculations.
However I can confirm that doing the test on the compiled application
instead of running in the IDE, if-then and select-case perform at nearly the
same.

Massimo Valle



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>