Re: [Flashcoders] IPAD App code optimization

2013-01-11 Thread Hans Wichman
Hi Sumeet, some stuff is much more important than other stuff: - DRY - don't repeat yourself: cache calculations (sinus tables, array lengths, radian conversion etc) - Create as few objects as possible, eg use ObjectPooling - try to stay away from movieclips and sprites, use bitmaps and sprite

Re: [Flashcoders] IPAD App code optimization

2013-01-11 Thread Deepanjan Das
Have a look at all possible ways of optimization: https://deepanjandas.wordpress.com/category/code-optimization/ Best Deepanjan Das On Fri, Jan 11, 2013 at 4:27 PM, Sumeet Kumar wrote: > Hi All, > > > > I am creating a very basic IPAD app. Adobe says we need to build the app > with code optim

[Flashcoders] IPAD App code optimization

2013-01-11 Thread Sumeet Kumar
Hi All, I am creating a very basic IPAD app. Adobe says we need to build the app with code optimization. I have completed development of the app. For code optimization, I am removing listeners, using sprites instead of movieclip, clearing Timers etc...what else I can do to optimize my cod