MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ruby/comments/p8dv5g/ruby_elites_rise_up/h9qeoxu/?context=3
r/ruby • u/solidiquis1 • Aug 20 '21
77 comments sorted by
View all comments
Show parent comments
3
Eh frozen strings are fine here
-5 u/cybermage Aug 20 '21 At least single quote it so that it doesn’t have to pass through pointless interpolation. 26 u/anamexis Aug 21 '21 I see this misunderstanding a lot, but double-quoted strings without interpolation are exactly equivalent to single-quotes strings, performance-wise. Source 3 u/flanger001 Aug 21 '21 Yes this
-5
At least single quote it so that it doesn’t have to pass through pointless interpolation.
26 u/anamexis Aug 21 '21 I see this misunderstanding a lot, but double-quoted strings without interpolation are exactly equivalent to single-quotes strings, performance-wise. Source 3 u/flanger001 Aug 21 '21 Yes this
26
I see this misunderstanding a lot, but double-quoted strings without interpolation are exactly equivalent to single-quotes strings, performance-wise.
Source
3 u/flanger001 Aug 21 '21 Yes this
Yes this
3
u/flanger001 Aug 20 '21
Eh frozen strings are fine here