Hi Eliot,

Right, but in the latest Squeak5.1-trunk with the latest CogSpur.r3663.app it 
takes only 3 milliseconds. I guess it’s just an optimized implementation, 
there. (Can’t look right now.)

Cheers,
Bernhard

> Am 20.04.2016 um 17:43 schrieb Eliot Miranda <eliot.mira...@gmail.com>:
> 
> Hi Bernhard,
> 
> 
>> On Apr 20, 2016, at 5:26 AM, Bernhard Pieber <bernh...@pieber.com> wrote:
>> 
>> Dear Pharoers,
>> 
>> I found something strange:
>> Time millisecondsToRun: [ Class allSubInstances size ]. „23617"
> 
> Because it does an allInstances for Class and all its subclasses, and 
> allInstances visits every object in the heap, so this does thousands of scans 
> of the heap.
> 
> 
>> I did this on a new Pharo 5 image
>> curl get.pharo.org/alpha+vmLatest | bash
>> 
>> Can somebody confirm this on their machine? What might be the reason?
>> 
>> Cheers,
>> Bernhard
> 


Reply via email to