From: Pete Yandell Date: 2006-03-03T06:55:22+09:00 Subject: Re: Confused about != operator overloading Chris, Ruby derives the != operator from the == operator. You can't define them separately. But, more to the point, can you give some more details on what you're testing for equality/inequality? I'm fascinated to know what sort of beast can be checked for inequality faster than for equality. Cheers, Pete Yandell On 03/03/2006, at 6:28 AM, Chris Parker wrote: > Does Ruby not allow overloading !=? Does Ruby just give you != from > ==? This is a bit of a problem for my case because while != is the > opposite of ==, there is a significant time improvement for > stopping as > soon as possible for !=.