タグ

2009年5月19日のブックマーク (2件)

  • unbland.org blog » Blog Archive » ActionScript の最適化 Tips を wonderfl に投稿しました

    ActionScript の最適化って色々なサイトに載っていますが、wonderfl にまとめて載っておくとコードと動きを同時に確認できるし、自分のためにも便利だと思って色々と投稿しました。コードへのリンクに個人的な私見を加えてご紹介します。ただ、人によって意見が異なるかもしれないので、コードと動きを直接確認しておくことをお勧めします。この処理はおかしいんじゃないか?とかありましたらコメントください。 変数名の長さによる処理速度の違い 変数名の長さによる違いはありません。ですので変数名は、他の人が見やすい・自分が後で確認しても分かり易いような名前を付けておいた方が良いです。 変数を参照する際の処理速度の違い 上のコードでは _getPi if … else と switch での処理速度の違い if … else 文は比較回数が少ない場合は軽いですが、比較回数が増えると switch

  • jactionscripters.com

    This domain is expired. If you are the domain owner please click here to renew it. jactionscripters.com 2018 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact i

    atsumo
    atsumo 2009/05/19
    日本のFlash界のそうそうたるメンバーが執筆