Pred:
Sorry mate, I meant an actual Flash register as opposed to a "real" CPU one.
I think the look-up time is greatly improved if a variable is declared as opposed to just shoved in there.
I really need to read up on the swf file format and fire up FLASM. joy.
AJ:
A while loop is quicker than a for loop, the example loop you posted wasn't formed as well as it could have been, eg
Squize.PHP Code:var i=(10/2)+1; //Just for examples sake
while (--i){
doSomeThing();
doSomeThing();
}
