[Pharo-project] Issue 3981 in pharo: #<= on SourcedMethodReference is very slow

pharo at googlecode.com pharo at googlecode.com
Fri Apr 15 11:42:36 CEST 2011


Comment #5 on issue 3981 by ryd... at gmail.com: #<=  on  
SourcedMethodReference is very slow
http://code.google.com/p/pharo/issues/detail?id=3981

Better would prolly be
^(self methodSymbol < aSourceReference methodSymbol)
    or: [
     (self methodSymbol = aSourceReference methodSymbol) and: [
     self time <= aSourceReference time]]

Well, depends on whether you like ifTrue: ifFalse: I guess :P
Personally, I kinda like boolean logic.




More information about the Pharo-project mailing list