General

Profile

bumblingbear (Dillon Welch)

  • Registered on: 03/23/2018
  • Last connection: 03/23/2018

Issues

Activity

03/27/2018

04:17 AM Ruby master Feature #14624: #{nil} allocates a fresh empty string each time
Closer to the string interpolation optimization part. The problem with `"#{nil}"` is that it allocates two empty stri... bumblingbear (Dillon Welch)
02:50 AM Ruby master Feature #14624: #{nil} allocates a fresh empty string each time
That sounds fine to me!
Hanmac (Hans Mackowiak) wrote:
> i have a problem with that, what if someone might do:
>...
bumblingbear (Dillon Welch)

03/23/2018

03:49 AM Ruby master Feature #14624 (Open): #{nil} allocates a fresh empty string each time
This causes a bunch of unnecessary string allocations in the following scenario: `"#{'rails' unless boolean_condition... bumblingbear (Dillon Welch)

Also available in: Atom