On 10/14/06, Devin Mullins <twifkak / comcast.net> wrote:
> Daniel N wrote:
>  > I'm not sure that the thread ended up reaching a conclusion though.
>
> No, it didn't. The hypothesis was that the *parser* has a little easier
> time with non-interpolated strings, and the benchmarks didn't test that.
> They had N.times { "blah blah" } when they should have had N.times {
> eval '"blah blah"' }.
>
> That said, it's hardly a reason to go for single quotes. I mean, the
> quintessence of premature optimization dude. /That/ said, I think the
> singles make less line noise.

Yes, the reason for single over double quotes isn't about performance.

Personally, I try (or at least tend) to use single quotes unless I
need something which they don't give me like interpolation and escaped
characters.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/