服下這四帖藥方, 保證你早上10點半來上班, 下午六點就下班~XD
(雖然是說給AIR App用的, 但網路版依然適用)
- Use the lowest framerate possible (有人建議從 7 個 fps 開始...會不會降太大..=.=)
- Dynamically change the framerate to fit your application needs
- Only use Event.ENTER_FRAME handlers when necessary
- Have as few Event.ENTER_FRAME handlers and Timers as possible
是說奇怪ㄋㄟ, 以前版本用一卡車Enter Frame 好像也沒怎樣或太大問題, 還是說以前我們也沒太注意這方面的問題ㄋ??
原文:
http://www.webkitchen.be/2009/06/04/building-cpu-efficient-adobe-air-apps/
http://arno.org/arnotify/2009/05/writing-well-behaved-efficient-air-applications/
No comments:
Post a Comment