Date.prototype.getTime
P T Withington
ptw at pobox.com
Wed Jun 28 15:17:17 PDT 2006
On 2006-06-28, at 17:14 EDT, 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.
Right. Well if you give tick a decent range (make it a double
instead of an int), I think that issue moot because you don't need to
measure really long events with that much precision. If I calculated
right, that would give you about 50 years to nanosecond precision.
> I thought this was familiar :-). I will take your proposal, noodle
> on it, and wiki something to get TG1 buy-in. Thanks,
Thank you!
More information about the Es4-discuss
mailing list