[Pharo-project] [OT] Re: Pharo go in loop.
henrik.s.johansen at veloxit.no
Wed Nov 17 17:17:44 CET 2010
On Nov 17, 2010, at 5:12 15PM, Levente Uzonyi wrote:
> On Wed, 17 Nov 2010, Henrik Johansen wrote:
>> On Nov 17, 2010, at 4:25 42PM, Dario Trussardi wrote:
>>> i restored the change ( thanks, Serge and Max ).
>>> Now i found this problem in my pharo 1.1 image:
>>> I open a class browser and select the Object class.
>>> Now when i clic: the browse hierarchy ( of Object ) the system go in loop.
>>> It is my problem or is know ?
>> Question is if it indefinately hangs (which can not be reproduced in a clean 1.1), or just takes extremely long (which can)
>> You can't expect it to be extremely fast to open a browser on the entire class hierarchy, but it should be faster than what it is in 1.1.
>> In OBClassSortFilter>>#nodesFrom:forNode: , change #asOrderedCollection in the second line to #asSet, and it opensd in 1 second rather than 11 on my machine.
> Under 200ms using Squeak. :)
Yeah, those numbers were while time-profiling and running other stuff as well, was more the order of magnitude difference which was the main point ;)
More information about the Pharo-project