[squeak-dev] The Trunk: Morphic-mt.925.mcz

David T. Lewis lewis at mail.msen.com
Sat Apr 25 14:49:15 UTC 2015


On Sat, Apr 25, 2015 at 08:28:11AM +0000, commits at source.squeak.org wrote:
> Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-mt.925.mcz
> 
> ==================== Summary ====================
> 
> Name: Morphic-mt.925
> Author: mt
> Time: 25 April 2015, 10:28:04.156 am
> UUID: a6424dc5-e32e-e444-8ffe-a5d1a3ad0deb
> Ancestors: Morphic-kfr.924
> 
> Performance improved about 10 to 1000x for layouting of scrollpanes and their subclasses -- depending on methods accessed.
> 

Really?!? Wow, nice work.

Dave



> How?
> - instance variables for scrollbar policies instead of using the property dictionary of morphs
> - instance variable for scroll bar thickness instead of querying Preferences dictionary over and over again
> - caching minimum extent instead of calculating it in #minWidth and #minHeight
> - improved implementation of #innerBounds
> - avoid enforcing #minExtent when changing the #extent: (now only enforced within a layout via #layoutBounds:)
> 
> Note #scrollBarThickness does not yet use instVar because I will modify the update map first to migrate open tools properly.
> 
> =============== Diff against Morphic-kfr.924 ===============
> 


More information about the Squeak-dev mailing list