If you know the answer I would like to know it too.
Le 21/4/16 06:56, Bernhard Pieber a écrit :
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 <[email protected]>:
Hi Bernhard,
On Apr 20, 2016, at 5:26 AM, Bernhard Pieber <[email protected]> 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