News for hackers. Stuff that matters.
Re:Ruby Benchmark by pieter on Monday August 02, 2010 @05:03AM (#1567204)
> "while" is up to 92% faster over 100000 repetitions

    Array#each_with_index    1.3768820762634277  secs    92% Slower
    while                    0.10703921318054199 secs    Fastest
Don't you mean it's around 13x fast (or 1200% faster)?
Re:Ruby Benchmark by Chirono on Monday August 02, 2010 @05:53AM (#1567263)
This is always rather ambiguous terminology. For some people, it makes no sense for thing a to be more than 100% faster than thing b. Other people see it clearly meaning that thing a take half the time of thing b.

What we really want to measure is time quantities rather than speed quantities. I find comparisons of time much easier to grasp than comparisons of speed.