4 ms·
I'm definitely not great at this kind of stuff, but I'll give it a try ... Check out the Amatch ruby gem ... it can compute the hamming distance ... might be e
by callmeed 17y ago
I'm definitely not great at this kind of stuff, but I'll give it a try ...
Check out the Amatch ruby gem ... it can compute the hamming distance ... might be easy to automate with ruby ...
http://amatch.rubyforge.org/doc/index.html http://amatch.rubyforge.org/doc/index.html
- potatolicious 17y agoExcept doing this through Ruby is a guaranteed bet to not get done in time.
- sho 17y agoI agree that the gem mentioned might not be suitable, but Ruby could still have a part to play, especially as it allows direct use of native libraries, or just managing processes running on the OS. Someone doing this should probably write the fast-spinning cogs in C, but it might be worth using Ruby to manage threads, processes, data segments, etc - indeed, maybe prototype the C code there first too. You'd gain an awful lot of convenience for very little overhead.