[squeak-dev] Re: Squeak 3.9 alpha image wanted

nice ncellier at ifrance.com
Thu May 1 21:13:07 UTC 2008


karl wrote:
> Matthias Berth wrote:
>> Hello,
>>
>>
>> can anyone tell me were to find the earliest available 3.9 alpha image?
>>
>> I want to identify the cause of the slowdown of browsers when you have
>> many of them opened.
>>   
> 
> Much of the slowdown is the pane resize handles from the look 
> enhancement. There is arguably a bug in Morph>>privateAddMorph: that 
> sometime adds submorphs to the top left corner of the screen instead of 
> to the
> top left corner of the owner morph. This causes massive screen redraws. 
> Also the adding of the pane resizes causes
> whole window redraws more frequently than before they were added.
> 
> Karl

But does that explain that Browser get redrawed even if obscured?
Change the script a little to set the position near top left rather than 
the extent:

win := Browser openBrowser topView.
	"win extent: 600 at 350."
	win position: 10 at 10.
br := win model.
br setClassOrganizer.
br systemCategoryListIndex: 2.
World doOneCycle.

Transcript cr; show: [1 to: 10 do:[:i|
        br classListIndex: i.
        World doOneCycle.
  ]] timeToRun.


very linear in 3.10:
1611
2459
3288
4122
4976
5820

slower downgrading in 3.8:
1258
1308
1367
1427
1483
1552
1627

Nicolas




More information about the Squeak-dev mailing list