[Pharo-project] A lil simplification of MorphTreeNodeMorph

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Apr 7 09:09:53 CEST 2011


Indeed this is really important to improve key infrastructure widgets.
They are enablers of the future.
This is why SM and polymorph are important.

Stef

On Apr 6, 2011, at 10:30 PM, Tudor Girba wrote:

> Excellent job :). And very highly appreciated.
> 
> Cheers,
> Doru
> 
> 
> On 6 Apr 2011, at 22:06, Stéphane Ducasse wrote:
> 
>> Good! I'm happy. Igor and Ben are doing a great job.
>> 
>> Stef
>> 
>>> This is great!
>>> 
>>> I tested it on Glamour and it looks pretty cool. And, it is definitely snappier.
>>> 
>>> I tested LazyMorphTreeMorph it on a list with 1 million items in the context of Glamour with a pagination of 50 items I got:
>>> - before: 6414 ms
>>> - after: 3526 ms
>>> 
>>> The code I used is (works in a Moose image, or after you load Glamour):
>>> 
>>> Time millisecondsToRun: [
>>> 	| browser |
>>> 	browser := GLMTabulator new.
>>> 	browser column: #one.
>>> 	browser transmit to: #one; andShow: [ :a | 
>>> 		a tree
>>> 			tags: [ :each | {each even printString} ];
>>> 			showOnly: 50 ].
>>> 	browser openOn: (1 to: 1000000)
>>> ]
>>> 
>>> Cheers,
>>> Doru
>>> 
>>> 
>>> On 6 Apr 2011, at 18:01, Igor Stasenko wrote:
>>> 
>>>> okay.. i found one bug
>>>> 
>>>> forgot to add  cellPositioning: #leftCenter;  for colum wrapper morph
>>>> 
>>>> 
>>>> -- 
>>>> Best regards,
>>>> Igor Stasenko AKA sig.
>>>> <Tree2.3.cs>
>>> 
>>> --
>>> www.tudorgirba.com
>>> 
>>> "What we can governs what we wish."
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> --
> www.tudorgirba.com
> 
> "Yesterday is a fact.
> Tomorrow is a possibility.
> Today is a challenge."
> 
> 
> 
> 




More information about the Pharo-project mailing list