<div dir="ltr">Bert, I don&#39;t remember if it was really necessary (it was probably useful during development, now it&#39;s questionnable).<br>See if last inbox commit fits...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-07-24 20:04 GMT+02:00 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div class="">On 24.07.2014, at 19:32, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br></div><div>
<div class=""><br><blockquote type="cite"><div dir="ltr"><div>It&#39;s reasonnably 259ms here with a homebrew cog (accelerated 32bits large int), core i7, win7...<br></div><div>27770ms with disabled plugin (default time out is set to 5000ms I think)<br>
</div>Should we test if  #LargeIntegers module is loaded in preamble?</div></blockquote><div><br></div></div><div>Is it really necessary to run 2500 iterations? Wouldn&#39;t 5 or so be enough?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>- Bert -</div></font></span><div class=""><br><blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote">2014-07-24 16:03 GMT+02:00 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Without a LargeIntegers plugin, this test is way too slow, it times out. Even in Cog it takes almost 1 minute:<br>
<br>
&quot;disable LargeIntegers plugin&quot;<br>
CompiledMethod allInstancesDo: [:cm |<br>
        (cm primitive = 117 and: [(cm literalAt: 1) first = #LargeIntegers])<br>
                ifTrue: [(cm literalAt: 1) at: 1 put: #LargeIntegersDisabled]].<br>
Smalltalk unloadModule: #LargeIntegers.<br>
<br>
&quot;run test&quot;<br>
IntegerTest run: #testRaisedToModulo.<br>
<br>
&quot;enable LargeIntegers plugin&quot;<br>
CompiledMethod allInstancesDo: [:cm |<br>
        (cm primitive = 117 and: [(cm literalAt: 1) first = #LargeIntegersDisabled])<br>
                ifTrue: [(cm literalAt: 1) at: 1 put: #LargeIntegers]].<br>
Smalltalk unloadModule: #LargeIntegersDisabled.<br>
<span><font color="#888888"><br>
<br>
- Bert -<br>
<br>
</font></span><br><br>
<br></blockquote></div><br></div>
<br></blockquote></div></div><div><br>

</div>
<br></div><br><br>
<br></blockquote></div><br></div>