[squeak-dev] 4.1 - hashed collections still a problem

Andres Valloud avalloud at smalltalk.comcastbiz.net
Fri Mar 26 05:23:24 UTC 2010


I don't have Squeak handy right now, I just meant to say that the code 
in the VisualWorks method will work correctly as long as isPrime is 
deterministic.

On 3/23/10 18:58 , David T. Lewis wrote:
> On Tue, Mar 23, 2010 at 06:18:23PM -0700, Andres Valloud wrote:
>    
>> You can look at the bottom of the prime
>> table in VisualWorks and see an expression that finds them from scratch
>> (but note that isPrime *MUST BE DETERMINISTIC*).
>>      
> Andres,
>
> Is this a reference to the #isPrime in Squeak trunk, which calls
> #isProbablyPrime for LargePositiveInteger? If so, can you say if
> there is any difference in the actual results of computing a prime
> table with a Squeak trunk image compared to the VisualWorks results?
>
> If there is an difference in the results in Squeak versus VisualWorks,
> this would be important to know.
>
> Thanks,
> Dave
>
>
>    



More information about the Squeak-dev mailing list