[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70632] Re: [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3

From: Aaron Patterson <tenderlove@...>
Date: 2015-08-29 17:59:38 UTC
List: ruby-core #70632
On Wed, Aug 26, 2015 at 09:29:45AM +0000, duerst@it.aoyama.ac.jp wrote:
> Issue #11473 has been updated by Martin Dst.
> 
> 
> Akira Tanaka wrote:
> 
> > This issue tries to solve more than performance.
> > As Matsuda-san explained, it solves a social problem.
> 
> Can you please provide a pointer to the "social problem" explained by Akira Matsuda?
> 
> The only reference I found in this issuue is to https://bugs.ruby-lang.org/issues/8976#note-30. I don't see any social problems mentioned in that comment. It mentions mainly performance, and code ugliness.

I think the social problem he might be referring to is people sending
patches that replace all strings with "string".freeze, or refactor them
out to constants.  Sometimes we suffer from this on Rails, but it's our
rule to only accept these types of "performance" patches if the code is
a bottle neck.

I guess the social problem is a "performance cargo cult".

-- 
Aaron Patterson
http://tenderlovemaking.com/

In This Thread

Prev Next