[Tweener] Tweener 1.33.74

Cedric Muller flashcoder at benga.li
Wed Jun 10 01:49:24 PDT 2009


Hello Zeh,

Thanks for this clear explanation ;)


I have got a very naive question: I saw you declare for var loops  
using var i:uint, as far as I understand (and tested), var i:int is  
faster. Overall I don't think this changes anything, except maybe  
when there are hundreds of tweens..., but do you consider such low  
optimization technique or do you think this is purely crap  
considerations ?

Another small consideration:
you are using 'push' for pushing information at the end of an Array:
tweensArr.push("bob")
I tested tweensArr[tweensArr.length] = "bob" and it seems somewhat  
faster...

Actually my initial goal was to understand overall AS performance,  
not to look down for such in Tweener's code. It is just that I am  
sticking with Tweener because of its simplicity to use and now that I  
understand differences between 'int and uint' + 'array.push and array 
[array.length]' I want more :P

Thanks again,
Cedric


> List, Makc, et al,
>
> After talking to a few other friends who also provided some  
> constructive feedback, I realized the change added by Tweener  
> 1.32.74 - making tweening overwrite optional, and off by default  
> (as opposed to enforced to true as it was before) - was a mistake.  
> While my decision to do so was based on what I believe is a better  
> overall design, I failed to see the problems it'd cause for people  
> who wanted to update not knowing whether (or where) their code  
> would brake. While I sort of thought to myself "hey, they can just  
> ignore the update", I guess enforcing people to use a certain  
> version for legacy code isn't the best solution and it could cause  
> a bit of pain had it became the official last version.
>
> So, sorry.


More information about the Tweener mailing list