From: Gavin Sinclair Date: 2003-01-25T07:05:05+09:00 Subject: Re: Single vs double quotes and performance? On Saturday, January 25, 2003, 6:29:28 AM, Travis wrote: > I've often wondered the same thing. The difference doesn't appear to be much: > 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. Gavin