realbasic-games
[Top] [All Lists]

Re: Alternate 3D

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Alternate 3D
From: Frank Condello <developer at chaoticbox dot com>
Date: Sat, 14 May 2005 14:48:44 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <BEAB0B16 dot 2FD5%acuipka at statrite dot com> <9a9bda4d9464da3efd3466eb6594736d at charcoaldesign dot co dot uk> <92161a70ae90022f4a09fef4d286c524 at charcoaldesign dot co dot uk>
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>

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