From: Kirk Haines Date: 2011-03-08T06:49:05+09:00 Subject: Re: Hamming Distance On Mon, Mar 7, 2011 at 10:11 AM, Kirk Haines wrote: > You can implement xor of two strings using pure ruby, but to get it > fast, you'll probably want to utilize an extension.  Here's one Actually, I should revise that statement. To get it really fast with MRI, you'll probably want to utilize an extension. I am guessing, as I haven't benchmarked anything, but one may well be able to get much faster pure ruby speeds with jruby or rubinius. When in doubt, benchmark it! Kirk Haines