Hi,

because of my interest in mono and ruby I have done a small benchmark.
These are the results:

Mono Code:

using System;

class Bench {
  public static void Main() {
    double d = 0;

    for (int i = 0; i < 1000000000; i++) {
      d = d + i;
    }

    Console.WriteLine(d);
  }

Needs 10.8 Seconds.


In Ruby:

d=0
1000000000.times {
  d = d + 1
}

puts d


Needs: 8 minutes and 20 seconds.


Does not look very good :( Is there a possibility to tune my ruby-program,
to be as fast as mono?

Greetings

Mike