Mantis - Squeak
Viewing Issue Advanced Details
3254 Compiler minor always 03-06-06 09:49 03-09-06 16:48
MarcusDenker  
MarcusDenker  
normal  
closed 3.9  
fixed  
none    
none 3.9  
0003254: faster #binding
Behavior>>#binding used code moved from Encoder>>bindingFor:... but this did a linear search of
the SystemDictionary. That was no problem as long as only super send methods where affected (there are not many) but now, we call it for every method and every install in the methodDictionary.

The attached .cs thus has a version that do not use search (we know the name of the class in Class and Trait), and has a specialized version for MetaClass. Much faster...
 fasterBinding-md.cs [^] (452 bytes) 03-06-06 09:49

Notes
(0004387)
MarcusDenker   
03-07-06 16:19   
for 7007
(0004413)
MarcusDenker   
03-09-06 16:48   
7007