[Pharo-project] A lil simplification of MorphTreeNodeMorph

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Apr 6 22:06:09 CEST 2011


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."
> 
> 
> 
> 




More information about the Pharo-project mailing list