<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?<br>
</div><div class="gmail_extra"><br><br><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 class="HOEnZb"><font color="#888888"><br>
<br>
- Bert -<br>
<br>
</font></span><br><br>
<br></blockquote></div><br></div>