From: Marnen Laibow-Koser Date: 2009-12-02T09:02:02+09:00 Subject: Re: have a problem with the loops and variable Michael Linfield wrote: > For something small such as testing lets say a million keys, the > difference would be minimal. However, when you're brute forcing, you > generally are testing a million keys/hashes a second, and when using > algorithms that move that much data through it every second, C++ can > make all the difference in the world. Not impressed with this explanation. Most of the stuff in a Ruby brute-forced is already implemented in C anyway in MRI (e.g. Array), or easily can be if the optimization proves necessary (e.g. the math). There's really nothing to be gained from avoiding Ruby. > > Benchmarks show the difference of milliseconds, even nanoseconds, but > those add up quick when throwing a million keys a second at them. And have you done those benchmarks? Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.