Date.prototype.getTime
Neil Mix
nmix at pandora.com
Wed Jun 28 14:22:53 PDT 2006
On Jun 28, 2006, at 4:14 PM, Brendan Eich wrote:
>> From the size of integers and the scale, you can determine the
>> maximum interval you can measure, use modular arithmetic, and use
>> Date to compensate if you really need that granularity for a
>> longer interval (I believe such applications will be rare).
>
> There's a race if you don't have an atomic sample of the coarser
> and the finer unit clocks.
Maybe there could be a corresponding tickEpoch (a Date object) that
represents the time when Date.tick was set to 0?
More information about the Es4-discuss
mailing list