gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          Memory Profile of MXML vs AS3 for ItemRenderers

          Although using MXML can be quicker to code up it appears that using it for itemRenderers is a lot more CPU intensive than coding itemRenderers in AS3. The Repeater component also seems to hog a lot of memory.

          MXML vs AS3 for itemRenderers

          this is an ItemRenderer memory profile using MXML

          this is the same itemRenderer recoded in AS3

           

          Example of Memory usage for a Repeater component vs AS3 (based on the Paginator Component we built)

           

          Profile of Paginator using a Repeater Component

          Profile of Paginator using a good old fasioned for loop:

          Advice:

          try and always you an AS3 Class for itemRenderers rather than MXML. I wonder if Gumbo is going to be any better?

          posted on 2008-09-18 13:33 gembin 閱讀(414) 評(píng)論(0)  編輯  收藏 所屬分類: FlexActionScript3

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊(cè)

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          free counters
          主站蜘蛛池模板: 临猗县| 文安县| 永嘉县| 壤塘县| 蒲城县| 宝丰县| 陇西县| 京山县| 璧山县| 藁城市| 屯留县| 利辛县| 合江县| 东兰县| 湄潭县| 龙陵县| 贵德县| 龙门县| 宁化县| 嫩江县| 太仆寺旗| 应用必备| 宁晋县| 浪卡子县| 海丰县| 东宁县| 永昌县| 渑池县| 翁牛特旗| 南溪县| 建湖县| 太白县| 丰宁| 福鼎市| 城步| 竹北市| 鄂尔多斯市| 霍林郭勒市| 龙岩市| 西峡县| 新建县|