Again my point is:<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>was there a problem to solve?</div><div>Was it about performance?</div></blockquote>If the answer is YES, then a fix (your proposal for example) is needed<div>
if NOT leave what was there originally...double implementation is just making maintenance more difficult.</div><div>Optimizing for the sake of it has never proved correct...</div><div><br></div><div>My 2 cents...</div><div>
Bye</div><div>Enrico<br><div><br><div class="gmail_quote">On Sat, Dec 19, 2009 at 11:18 PM, Cédrick Béler <span dir="ltr">&lt;<a href="mailto:cdrick65@gmail.com">cdrick65@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
or simply<div><br></div><div>SmallInteger&gt;&gt;isPrime</div><div>the current version</div><div><br></div><div>LargePositiveInteger&gt;&gt;isPrime</div><div>Knuth&#39;s version<br><br><div class="gmail_quote"><br></div>-- <br>

Cédrick<br>
</div>
<br><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Enrico Spinielli<br>&quot;Do Androids dream of electric sheep?&quot;— Philip K. Dick<br>&quot;Hear and forget; see and remember;do and understand.&quot;—Mitchel Resnick<br>

</div></div>