Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
checking that an object exists

checking that an object exists

2005-04-07       - By Brad Friedman

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Bernard Lebel wrote:

>Btw, besides the Linux limitation with the try/catch statement in
>JScript, what's so wrong with exception catching? You are testing the
>existence of an object, not running commands or calling methods.
>  
>
Its just a general programmer's rule (strong guideline).  Exception
throwing and catching is slower than normal function calling in almost
all cases (I've never heard of one where its not).  So, depending on
exceptions for flow control, rather than normal function calls, can slow
things down and is frowned upon.

Now granted, in most cases within XSI... who cares?  Its still fast
enough :)  But some of the things Clay was doing sound pretty heavy so
it may be worth trying to cut down the runtime.  And also, once you get
into the habbit of frowning upon exceptions... its hard to stop :) err... :(

-brad
---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi