[Etoys] Performance improvements form 3.9 (backported) #2

Marcus Denker denker at iam.unibe.ch
Sat Oct 14 19:22:59 EDT 2006



In Squeak 3.8 (and thus OLPC Squeak), we changed Squeak to call  
#initialize by default
on #new.

The attached changeset fixes some instance creation methods (e.g.of   
Rectangle,
LookupKey, Point) to not call #new (as there is no initialize  
method), but use
#basicNew instead, thus saving a lookup and call to the empty  
#initialize method.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ShortCutNew-md.4.cs
Type: application/octet-stream
Size: 2454 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/etoys/attachments/20061015/ed51786b/ShortCutNew-md.4.obj


More information about the Etoys mailing list