From: "Andreas S." Date: 2012-07-03T22:40:10+09:00 Subject: Re: ruby performance Dan Connelly wrote in post #1067093: > Curious when I did the loop in C how huge the speed increase was with > -O1 versus -O0... No surprise there; the loop doesn't do anything, so the optimizer can reduce the program to "return 0". And that's what is wrong with a benchmark like this. Rule of thumb, if you have to disable the optimizer to get a result, your benchmark is useless. -- Posted via http://www.ruby-forum.com/.