[Papervision3D] Speed up Flash with stage quality
Neven '7even' Jacmenović
neven.jacmenovic at gmail.com
Tue Oct 23 02:26:13 PDT 2007
Sure. I don't use this any more. That was back then when optimization and
memory allocation where myths for me, and quality switcher was a magical
speed increase from heaven. :)
Unlike other programming languages (php eg), premature optimization in AS3
is NOT a root of all evil. You really have to think your way through from
the beginning of application programming. What I discovered so far while
working in as3 - there are tricks which help you gain some speed
(cacheAsBitmap, and BitmapData in general) but most important thing is
having your own garbage collection. removeEventListener, loader.unload,
bitmapdata.dispose.. null... etc.
And there are that micro optimization techniques for heavy mathematical
loops, for which I am not that enlighten yet. :)
On 10/23/07, Jim Kremens <kremens at gmail.com> wrote:
> "This is oldest trick in the book. In AS2 I had quality switcher which
> activates when FPS drops to certain number. I used this a lot to calm
> down nasty Fuse tweens ."
> This is a nice idea - but aren't you concerned that your quality
> switcher adds some overhead that will slow down your tweens?
> Papervision3D mailing list
> Papervision3D at osflash.org
seven | the witchdoctor
http://www.nivas.hr - uploading 24/7!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D