[Pharo-project] A lil simplification of MorphTreeNodeMorph

Tudor Girba tudor.girba at gmail.com
Wed Apr 6 22:30:53 CEST 2011


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