headius / headius.com wrote:
> https://bugs.ruby-lang.org/issues/16150

Last year, I planned on making peephole optimizations so
"#{foo}"+frozen-string-literal and `foo.to_s.freeze' could
return frozen/reused strings.  But I ran out-of-time.

The objective is/was always to provide forward/backwards
compatibility without breaking old code and also enabling
developers to target newer Rubies while keeping code working
on older Rubies.

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>