By bloid
via blog.pixelbreaker.com
Published: Sep 11 2007 / 07:25
I’ve been developing an application recently that requires large numbers of classes to be initialised as soon as the application is loaded. It’s an isometric display engine, a la “Sim City”, with a world map of 800 x 600 tiles, and multiple layers ( terrain, objects, transport networks etc) there’s potential for over 100,000 instances to be made!!!
I found ActionScript 3.0 and AVM2: Performance Tuning by Gary Grossman, which covers many aspects of how AVM2 is different from AVM1. The part I was interested in was about $init and $cinit (class constructor) functions being interpreted and everything else being JIT.
Add your comment