-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maciej Stachowiak
Sent: Wednesday, October 01, 2008 1:02 PM
To: Darin Adler
Cc: WebKit Development
Subject: Re: [webkit-dev] Proposed Timer API


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.

---

Updating now. Units of seconds. Precisision is browser defined, but will be
higher precision (or same precision) as setInterval/setTimeout.

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to