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

pharo at googlecode.com pharo at googlecode.com
Fri Apr 15 11:28:26 CEST 2011


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

Sure they do, if class is identical, but selector not.
^ self methodSymbol = aSourceReference methodSymbol
		ifTrue:[true]
		ifFalse:[self time <= aSourceReference time]

is just... wrong.
I believe it means to be
^ self methodSymbol = aSourceReference methodSymbol
	ifTrue:[self time <= aSourceReference time]
	ifFalse:[self methodSymbol < aSourceReference methodSymbol ]




More information about the Pharo-project mailing list