Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-08-03 Thread elibol
I doubt there is anything faster about AVM1 over AVM2... On 7/30/07, Andy Herrman <[EMAIL PROTECTED]> wrote: > > Wow. I know Flash 9 was faster than 8, but I didn't realize it was > that big a difference. > > Anyone know what the difference is in image processing speed? I've > been looking at po

Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-07-30 Thread Andy Herrman
Wow. I know Flash 9 was faster than 8, but I didn't realize it was that big a difference. Anyone know what the difference is in image processing speed? I've been looking at porting an application we have to Flash that does a bunch of image processing (needs to be able to download raw image data

Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-07-27 Thread greg h
Hi moveup, Here is pretty much a repeat on my response when you asked this same question back on 12/22/06 here on this list ;-) Loops and then some ... Props to Mike Lyda for running the following tests over time (and to JD for originally bringing it to my attention.) Mike Lyda runs performanc

Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-07-27 Thread Mark Winterhalder
> is only noticeable when you're doing 50,000+ loops of non-trivial code. When you're doing 50,000+ loops of non-trivial code, I don't think it's performance of the loop you have to worry about. :) Here's something about performance:

Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-07-27 Thread Steven Sacks
FLASM: http://flasm.sourceforge.net/#optimization When it comes to optimizing, there are a few key things to remember: 1) Subtraction is faster than addition 2) Decrementation is faster than incremenations 3) Pre-decrementation is faster than post-decrementation By faster, it means there is le

Re: [Flashcoders] Q: loop speed AS2 and AS3

2007-07-27 Thread Andy Herrman
As AS2 is basically just compiled down into AS1 I doubt there's any difference in performance between 1 and 2. My understanding of 3 is that things are compiled a lot more like Java is (with a full VM and such) so I would assume 3 would be faster. I could be wrong though. -Andy On 7/27/07, [E

[Flashcoders] Q: loop speed AS2 and AS3

2007-07-27 Thread moveup
This has been covered ad nauseum for AS1, but, has anyone done loop speed comparisons for AS2 and AS3? Primarily as I have code that relies HEAVILY of for loops, I want to find out what speed advantages if any can be had by switching to while or do while loops in AS2. Thanks! [e] jbach at bit