From: Meinrad Recheis Date: 2006-02-24T07:37:19+09:00 Subject: Re: Huge performance gap ------=_Part_14645_24184315.1140734223226 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 2/23/06, Alexis Reigel wrote: > > Hi all > > I've ported the following c++ code to ruby. It is a recursive > (backtracking) sudoku-solving algorithm. Well, I was rather surprised by > the execution time I got: > > c++ code: 0.33 seconds > ruby code: 27.65 seconds > > [...] > ruby code may be up to 100 times slower than c++ binaries. i think it is normal. also i don't see any common performance crimes (such as using +=3D with strings) in your code. -- henon ------=_Part_14645_24184315.1140734223226--