Fwiw, ActionScript 3 implements a Timer API we could use a basis: http://livedocs.adobe.com/flex/2/langref/flash/utils/Timer.html
It basically is an OOP based timer/interval API. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Garen Sent: Tuesday, September 30, 2008 3:58 PM To: Maciej Stachowiak Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] setTimeout as browser speed throttle > Or there is option 3: > > 3) Restore the clamp for setTimeout and setInterval to 10ms for > compatibility, and add a new setHighResTimer API that does not have > any lower bound. I'd like to tweak this suggestion a bit: Let's make this new timer API object-oriented, so it can be both less slow and less crazy than setTimeout / setInterval. There are many "Timer" APIs in open source JavaScript libraries on which we could base a new API. Perhaps a Timer object would always be high resolution, or perhaps it would have an "isHighResolution" bit. Cheers, Geoff _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev