You heard the news already, Macromedia launched their Labs site today, along with public alphas of Flash Player 8.5, Flex Builder 2 and the Flex Framework 2.
Among the first things i did with those alpha goodies was porting the DENG CSS 3 parser to Actionscript 3.
Results of first benchmark (Parsing a 20kb CSS file into an object DOM):
- AS2, Flash Player 8: around 1000ms
- AS3, Flash Player 8.5: around 80ms
That’s a 12.5x performance boost, without FP8.5 specific optimizations.
Flash is fun again!
I’m going to prepare a live demo of the parser in the next days for you to play with it.