Yusuke Endoh

Projects

Activity

Reported issues: 166

08/25/2015

04:30 PM Ruby trunk Feature #8976: file-scope freeze_string directive
Yusuke Endoh wrote:
> I'm interested in the actual effect of this feature. How many times faster will Rails run act...
12:10 PM Ruby trunk Feature #8976: file-scope freeze_string directive
Akira Matsuda wrote:
> Hence, we see so many "performance improvement" patches that add `.freeze` to String literals...
03:35 AM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
Please consider the difference of the development style: hobby development and enterprise development.
I'm on hobb...

08/24/2015

05:13 PM Ruby trunk Feature #11473 (Open): Immutable String literal in Ruby 3
Akira Tanaka wrote:
> I think changing Ruby is easier than educating people.
Oh, PHP-like attitude. I've always ...
03:57 PM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
I often write `[a, b].max`. This idiom is easy to read and write. But it is slow, especially in the core loop, beca...
03:42 PM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
Akira Tanaka wrote:
> This issue tries to solve more than performance.
> As Matsuda-san explained, it solves a soci...
01:38 PM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
Akira Tanaka wrote:
> This can be considered better usability.
I agree with a useful feature for easily and elega...
11:56 AM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
> "immutable by default" is a way to solve the ambivalent with matz's preference.
So, you mean:
* because the m...

08/23/2015

05:25 PM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
Thank you for the explanation and references.
I'm neutral to the magic comment. It would be better if it could sp...

08/22/2015

05:26 PM Ruby trunk Feature #11473: Immutable String literal in Ruby 3
Why do matz and akr want to make String literals immutable, at first? Please explain use case.
For performance? ...

Also available in: Atom