From: Gavin Sinclair Date: 2003-01-25T18:12:51+09:00 Subject: Re: Single vs double quotes and performance? On Saturday, January 25, 2003, 12:14:10 PM, David wrote: > Gavin Sinclair wrote: >>>require 'benchmark' >>>include Benchmark >> >>>data = ((0..9).to_a.to_s) * 2000000 >>>double = %!"#{data}"! >>>single = "'#{data}'" >> >> 'single' doesn't look like a single-quoted string to me. > it is when it's eval'ed. ::slap:: Sorry for the red herring. Gavin