[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18124] Re: [Ruby 1.8 - Bug #252] Array#sort doesn't respect overridden <=>

From: Charles Oliver Nutter <charles.nutter@...>
Date: 2008-08-04 19:49:27 UTC
List: ruby-core #18124
Nobuyoshi Nakada wrote:
> Hi,
> 
> At Thu, 10 Jul 2008 16:44:33 +0900,
> Vladimir Sizikov wrote in [ruby-core:17720]:
>> This seems to be a common performance trick in MRI, esp. for Fixnums and Strings.
>>
>> Looking at array.c (sort_2), indeed Fixnums and Strings are special-cased.
> 
> I've forgotten to post this patch.

So this is going to be a behavioral change now? My reading of the patch 
tells me it's now checking to see if <=> has been overridden and if so 
using the path that actually calls it. As Ryan pointed out, this would 
be new behavior. Can we get an official ruling on what is correct in 1.8 
and 1.9.x?

- Charlie

In This Thread