AS3 Efficiency & Optimisation tricks
20 03 2009Found some truly excellent resources on this (Thanks to Gibo & Mike for the links):
- http://www.lostinactionscript.com/blog/index.php/2009/02/25/fitc-amsterdam-presentation/
- http://wiki.joa-ebert.com/index.php/Category:Code_Optimization
I’ve been trying to save some of these little loops e.g. [code lang="actionscript"] list[length] = item; [/code]which for a simple Array push for example is 3x faster than:[code lang="actionscript"] list.push(item); [/code]out as FDT snippets called arrPush for example so that I don’t even have to remember to use them and the benefits will appear throughout production rather than post optimization whcih can be a pain. In other news, I’ve been spending a lot of time getting used to Fabrication this week and it really is incredibly good. I’ll post something about it in the next fortnight. Happy Friday all






Извините, что я Вас прерываю, но не могли бы Вы расписать немного подробнее….
Аналитик отдела продаж
out as FDT snippets called arrPush for example so that I don’t even have to remember to use […….