<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 19, 2014 at 9:10 AM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">
2014-04-19 15:29 GMT+02:00 David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span>:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>On Sat, Apr 19, 2014 at 09:12:47AM -0400, David T. Lewis wrote:<br>

&gt; On Sat, Apr 19, 2014 at 10:34:04AM +0200, Nicolas Cellier wrote:<br>
&gt; &gt; Hi Dave,<br>
&gt; &gt; did you lurk at the work in Pharo?<br>
&gt; &gt; I think they followed similar approach, but they kept jdn seconds and<br>
&gt; &gt; nanos, representing time in UTC, and they used UTC clock exlcusively.<br>
&gt; &gt; It would be interesting to compare the timings vs latest Pharo (3.0).<br>
&gt;<br>
&gt; Hi Nicolas,<br>
&gt;<br>
&gt; Yes, I&#39;m aware of the Pharo work.<br>
&gt;<br>
&gt; The approach that I am trying now is based on my earlier work with the<br>
&gt; Olson time zone tables in <a href="http://www.squeaksource.com/TimeZoneDatabase" target="_blank">http://www.squeaksource.com/TimeZoneDatabase</a>.<br>
<br>
</div>&lt;OT&gt;<br>
Well, what do you know, it seems that I just got my first link from Wikipedia.<br>
On <a href="http://en.wikipedia.org/wiki/Tz_database#Use_in_software_systems" target="_blank">http://en.wikipedia.org/wiki/Tz_database#Use_in_software_systems</a> there<br>
is a link for &quot;The Squeak Smalltalk time package&quot; that points to the Olson<br>
time zone database for Squeak.<br>
&lt;/OT&gt;<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div></div></div><br>Congrats for the fame ;)<br>And thanks for reporting your observations about Integer and Fraction efficiency.<br></div><div class="gmail_extra">A 64 bits Spur should also scale our SmallIntegers up to 2^62, which can completely change the figures anyway.<br>
</div></div></blockquote><div><br></div><div>Likely 2^60.  3 bits for tags, 1 bit for sign, hence SmallInteger maxVal = (2^60) - 1 , which is 36,000 years into the future :-)</div><div><br></div><div>DateAndTime fromSeconds: (1 &lt;&lt; 60) - 1 // 1000000 38435-08-17T21:30:06-07:00<br>
</div></div><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>