RE: [Flashcoders] Actionscript Optimization!

2007-07-16 Thread Kalani Bright
I remember asking something like this before except it was about resource
management.

Some kind fellow pointed me to Grant Skinner's page about this.
http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of daniel
Sent: Saturday, July 14, 2007 10:15 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Actionscript Optimization!

Hey,

Since you folks were so incredibly helpful last time I threw out a silly
question, I thought I'd toss out another... =)

The other replies to my previous thread (+Inifinite Loop -Dignity) triggered
a couple AS optimization hints, which I will be using! So I was wondering if
the kind mister Kremens was correct in stating that shorter variable names
aid in speeding up AS code. Fine, fine, he said he was joking, but I do
remember a reading document about optimizing C++ programs saying the same
thing.

Is there a good resource I can go to for reading up on AS code optimization?
Do practices from lower-level languages like C++ even apply in a language
like ActionScript? Am I smoking something I shouldn't be?

I love you all.

-- Daniel
___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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


RE: [Flashcoders] Actionscript Optimization!

2007-07-15 Thread Fruber Malcome
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: flashcoders@chattyfig.figleaf.com
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). 





___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Actionscript Optimization!

2007-07-15 Thread Muzak
You might find this interesting:

http://www.nowrap.de/flasm#optimization

- Original Message - 
From: Fruber Malcome [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Sunday, July 15, 2007 9:52 PM
Subject: RE: [Flashcoders] Actionscript Optimization!


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




___
Flashcoders@chattyfig.figleaf.com
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


RE: [Flashcoders] Actionscript Optimization!

2007-07-14 Thread Hairy Dog Digital
 
 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). 



___
Flashcoders@chattyfig.figleaf.com
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