Mantis - Squeak
Viewing Issue Advanced Details
1833 Graphics minor always 10-02-05 22:53 10-07-05 18:08
MarcusDenker  
 
normal  
closed 3.9  
fixed  
none    
none 3.9  
0001833: [ENH] FasterRectangelInsetBy
Change Set: FasterRectangelInsetBy
Date: 2 October 2005
Author: Marcus Denker

Rectangle insetBy: was testing with isKindOf: to check if the parameter is
a Rectangle or not. This means, we search up the inheritance hierarchy
for each insetBy with the parameter beeing a point or an Integer... changing
isKindOf: to isRectangle makes insetBy: around 25% faster for Integers
 FasterRectangelInsetBy.1.cs [^] (1,046 bytes) 10-02-05 22:53
 FasterRectangelInsetBy.2.cs [^] (2,256 bytes) 10-04-05 15:41

Notes
(0002766)
MarcusDenker   
10-04-05 15:40   
second version: now for all other methods *by methods, and a hand ordered cs that actually files in
(0002797)
MarcusDenker   
10-07-05 18:08   
in 3.9