[#79440] [Ruby trunk Bug#13188] Reinitialize Ruby VM. — shyouhei@...
Issue #13188 has been updated by Shyouhei Urabe.
6 messages
2017/02/06
[#79441] Re: [Ruby trunk Bug#13188] Reinitialize Ruby VM.
— SASADA Koichi <ko1@...>
2017/02/06
On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
[#79532] Immutable Strings vs Symbols — Daniel Ferreira <subtileos@...>
Hi,
15 messages
2017/02/15
[#79541] Re: Immutable Strings vs Symbols
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2017/02/15
Em 15-02-2017 05:05, Daniel Ferreira escreveu:
[#79543] Re: Immutable Strings vs Symbols
— Daniel Ferreira <subtileos@...>
2017/02/16
Hi Rodrigo,
[#79560] Re: Immutable Strings vs Symbols
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2017/02/16
Em 15-02-2017 22:39, Daniel Ferreira escreveu:
[ruby-core:79766] Re: [Ruby trunk Feature#13077] [PATCH] introduce String#fstring method
From:
Eric Wong <normalperson@...>
Date:
2017-02-25 02:11:20 UTC
List:
ruby-core #79766
eregontp@gmail.com wrote: > Eric Wong wrote: > > Anyways, committed as r57698 > > This should have a NEWS entry and tests since it changes the semantics. Sorry, I forgot; will do. Thanks for the reminder. > BTW, should my_string.freeze behave similarly to String#@-? > Otherwise String#freeze only dedup if the String is a literal. > Always deduping for String#freeze would make the semantics more consistent. No. There is existing code which assumes #freeze always returns the same object as its caller. Changing #freeze will break existing code. We can only cheat with String literals (opt_str_freeze) because literals are not assigned to user-visible variables, yet. Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>