I think in both cases the information you were reading was taling about
compile-optimization, not runtime.

Since the swf is mostly compiled during load - you may see a slight
performance difference with a few million lines of code because the file
would be bigger - take longer to download / load - but that's really a
streach as well.

So as Hairy stated - just keep them intelligble - why would you want them
any larger than 14 characters anyway?

Thanks - Fruber
 

-----Original Message-----
From: Hairy Dog Digital [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 14, 2007 10:53 AM
To: [email protected]
Subject: RE: [Flashcoders] Actionscript Optimization!

 
> Fine, fine, he said he was joking, but I do remember a reading 
> document about optimizing C++ programs saying the same thing.

I don't know C++, but if I try to step into my Way Back machine to my
college years, variable name lengths don't mean squat in compiled (whether
it's binary or bytecode) code. My own personal "Best Practice" is to make
variable names intelligble ("myVariableName" vs. "v1") and reasonably unique
(e.g., avoid possible confusion from using "myBox", "theBox" and "box"),
while avoiding insanely long names (e.g.,
"theUsersCurrentStreetAddressLineFromWebContactForm"). 





_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to