On 14-May-05, at 11:36 AM, Nick Lockwood wrote:
Hmm...
Apparently goto performance improves dramatically when running
outside the debugger, so maybe REAL's code isn't quite so bad :-)
The for loop still sucks though.
Did you disable background tasks for the loop (and nil object
checking, and bounds checking, etc., etc.,)? RB does a lot more than
just run your loop otherwise.
I keep the following text clipping in the "IDE Extras" folder:
#if NOT DebugBuild
#pragma BackgroundTasks False
#pragma BoundsChecking False
#pragma NilObjectChecking False
#pragma StackOverflowChecking False
#endif
Comes in handy! Also, as you've discovered, never use RB debug builds
for speed comparisons - same goes for any other language...
Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––
_______________________________________________
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>
|