[#71931] [Ruby trunk - Feature #11786] [Open] [PATCH] micro-optimize case dispatch even harder — normalperson@...

Issue #11786 has been reported by Eric Wong.

9 messages 2015/12/08

[ruby-core:71923] Re: [Ruby trunk - Feature #11769] [Open] optimize case / when for `nil`

From: SASADA Koichi <ko1@...>
Date: 2015-12-08 00:47:03 UTC
List: ruby-core #71923
On 2015/12/08 9:18, Eric Wong wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
>> Cool.  Might be worth it to do the same for `true` and `false`,
>> too, since we have space for them.
> 
> Sythetic benchmark shows a 3x speedup on top of r52928:
> 
> http://80x24.org/spew/20151208001623.2666-1-e@80x24.org/raw
> 

Great. Could you commit it?

-- 
// SASADA Koichi at atdot dot net

In This Thread

Prev Next