Top Posts
Recent Posts
Tags
Google Chrome Extensions
Radio Program
Web Apps
Bacon
Language
Translate
Study
Gadget of the year 2011 nominees
Joke
Game
Android
Diary
Flash lite
Youtube
Bookmarklet
Gadget
Gift
Live
Music
Photo
Apple
Prototype
Movie
ActionScript 3.0
Weird
Regular expression
Flash lite 1.1
Slider
Safari Extensions
radiko
Utility
Art
Nintendo DS
Tips
iOS
Apps
OS X
Gadget of the year 2007
JavaScript
Gadget of the year 2009 nominees
Comedy
Titanium mobile
Book
Image の onerror でゲームループ作ってみる
色々調べものしてたら JSDeferred を高速化する (試し中) – 冬通りに消え行く制服ガールは✖夢物語にリアルを求めない。 – subtech という記事に辿り着いて、その中で
setTimeout は interval を 0 に設定しても最低でも 10msec はかかってしまうため、next() や、それを使っている call(), loop() を何度も呼びまくるケースでは ブラウザが全くアイドルであっても 10msec * next() の回数分はかかってしまいます。
JSDeferred を高速化する (試し中) – 冬通りに消え行く制服ガールは✖夢物語にリアルを求めない。 – subtech
とあって、気にした事無かったけど確かにそうだなという指摘があり、解決法として (new Image).onerror を使う、というお話になっていました。
Read more