[webkit-dev] Proposed Timer API

Maciej Stachowiak mjs at apple.com
Wed Oct 1 10:02:02 PDT 2008


On Oct 1, 2008, at 9:58 AM, Darin Adler wrote:

> On Oct 1, 2008, at 9:16 AM, Mike Belshe wrote:
>
>> If you're going to propose a new API designed for hi-res timers, it
>> ought to use units of microseconds instead of milliseconds.
>
> Or units of seconds, perhaps? Since JavaScript numbers are already
> floating point.

That's what I would propose. Then browsers can offer greater precision  
in the future without having to redesign the API.

Regards,
Maciej



More information about the webkit-dev mailing list