Comment #3 on issue 3981 by [email protected]: #<= 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 ]


Reply via email to