wonderfl - build flash online

[最適化 Tips] 色々な整数化手段での処理速度の違い

muta244 muta244

add to favorites

Embed

Code Fullscreen

Favorite by

kiroukou kiroukou :

performance tips

uwi uwi :

これは新発見

onedayitwillmake onedayitwill.. :

performancetipsworkaroundsint is faster than: floor, round, >>

clockmaker clockmaker :

intのキャストが意外とはやい

ish_xxxx ish_xxxx :

performanceMath.floor(*)はやっぱ遅い。ビットシフトがいいと思ってたけど、intキャストが速いっぽい。n|0も試してみたもののn>>0とほぼ同じだった。

Tags

sectKeywords

Forked

ページの先頭へ戻る