Monday, February 7, 2011

New place for my thoughts

I'm afraid I have to say goodbye to Blogger. I decided to move this blog to my own domain and use Wordpress as blog engine. All posts have been exported to new domain http://fastas3.com/. See you soon!

Sunday, January 23, 2011

With keyword speed test

One of the most rarely used keyword in ActionScript 3 is definitely the 'with' keyword. Let's see what the documentation tells us about this keyword:

Sunday, January 16, 2011

Multiplication vs division

AS3 is definitely not a language for number crunching, but simple (or a little more complex) math is always with us.

Thursday, January 13, 2011

Cast performance oddity

Recently, I've read a very nice article about cast speed in AS3 and made some experimets. While doing my own speed tests, I came up with strange results.

Tuesday, January 11, 2011

Math.floor vs int vs uint cast

When you have a POSITIVE floating point number and want to round it down, it's better to use uint(2.33) than Math.floor(2.33). Casting positive number to uint directly is more than 17x (!!!) faster then Math.floor().

 
Powered by Blogger