> 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