From: Wilson Bilkovich Date: 2005-12-21T09:36:57+09:00 Subject: Re: =~ vs match - Some benchmarks. On 12/20/05, John Carter wrote: > While profiling some code I noticed =~, String.match and Regexp.match > turning up in my hotspots. So here is the results of a little > benchmarking to resolve which is faster to use... > Huh. Interesting. Why is string=~/frogs/o faster than: string=~/frogs/ ..when there are no substitutions involved?