Not specified指定されたブログメディアは存在しないか、終了または移転しました。
AS3 rocks, but hey (arg), I still need more performance. First of all some findings. Do not overload condition and statements as in AS2 for(;;) { ax = x - ( ( ay = ry < < 6 ) - y ) / hta; if ( tile = m[ --ry ][ ax >> 6 ] ) { if ( tside = tile[ 0 ] ) { nearest = ( dx = ax - x ) * dx + ( dy = ay - y ) * dy; side = tside; offset = ax % 64; break; } break; } if ( tile == undefined ) break; } [...] Thi
This is a post that I started writing about 5 months ago, and I may not be posting for a while, so here’s some info I gathered when doing per-frame analysis of Onyx’s bitmap rendering engine …. I tried to optimize per-frame bitmapdata drawing, since there were so many bitmapdata events happening on a per frame basis. The flow for one layer was as follows: var bitmap = new BitmapData(); bitmap.dra
Bitwise operators are very fast in AS3, so here is a small collection of code snippets which can speed up certain computations. I won’t explain what bit operators are and how to use them, rather pointing to an excellent article hosted on gamedev.net: ‘Bitwise Operations in C’. If you know any good tricks that are not included here, feel free to leave a comment or send me an email. All benchmarks w
I noticed a link yesterday over at RozenGain’s Blog about performance tuning, and I might have a couple things to add to the list as well. Go look at his blog first, as they’re not as obscure as mine :). He’s also got links to other performance tuning posts that are extremely helpful as well. If you’re working with bitmaps a lot, check out one of my previous blog posts about bitmap performance tun
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く