Re: Using with

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



AGAIN

Your code as given is fatally flawed

I copied it exactly then added another button and copied the code from
button 1 but transposed A&B, then marked the buttons "With First" and "With
Second" then ran it compiled and in the IDE, the IDE results are similar to
those posted before the compiled results were:

"With First"
Run 1: 521,750 (with)
Run 2: 1,052,057

"With Second"
Run 1: 478,486
Run 2: 1,001,104 (with)

There is a problem with your routine, it ALWAYS shows the first run to be
quicker than the second one.

The benchmarking I did however showed that the loops (I chose) were
insignificantly but measurably faster using With. But more importantly my
results were consistant regardless of the order performed.

Dave O.


.



Relevant Pages

  • Re: How to set the compiler to handle thousand loops ?
    ... I'm using NetBeans IDE 6.1 to develope my application. ... But it fails when reads 104,000 of waveform data. ... How to set the IDE to handle multiple loops like this? ...
    (comp.lang.java.programmer)
  • Re: .NET MFC new class wizard problem
    ... I also experience this problem when using the class browser to create new ... It seems the IDE wants to check out all the ... the whole project first, ... > loops on to the next one. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: How to set the compiler to handle thousand loops ?
    ... I'm using NetBeans IDE 6.1 to develope my application. ... But it fails when reads 104,000 of waveform data. ... How to set the IDE to handle multiple loops like this? ... FileOutputStream function, while-do, and ByteBuffer function in this ...
    (comp.lang.java.programmer)
  • Re: How to set the compiler to handle thousand loops ?
    ... I'm using NetBeans IDE 6.1 to develope my application. ... But it fails when reads 104,000 of waveform data. ... How to set the IDE to handle multiple loops like this? ... FileOutputStream function, while-do, and ByteBuffer function in this ...
    (comp.lang.java.programmer)
  • Re: 7 vs 2007
    ... I chose to run the IDE in the Classic ... Undocked mode and feels right at home. ... to have screaming customers because I decided to stay in the past. ...
    (borland.public.delphi.non-technical)