Hi,
In message "[ruby-talk:15274] Re: Pluggable sorting - How would you do it?"
on 01/05/16, "Benjamin J. Tilly" <ben_tilly / operamail.com> writes:
|BTW I just tried what I think should work in Ruby 1.6.2 but
|it didn't seem to work. I must be forgetting something
|obvious...?
As Guy Decoux stated in [ruby-talk:15275], string sort is highly
optimized. This behavior was already pointed out by TOYOFUKU
Chikanobu. He even submitted a patch to fix this, but it has not been
merged since it might affect performance.
matz.