From: Vidar Hokstad Date: 2008-05-16T19:00:07+09:00 Subject: Re: 40 million levenshtein distances for two long strings On May 15, 7:29 pm, John wrote: > ...48,270,225 to be exact, which (without multithreading) would take a > bit over 300 days. I'm with Axel, I think more than just a couple > people would be interested in that slice of C. The wikipedia article on Levenshtein distance has a reasonable C implementation - using Ruby inline on it is fairly trivial. I used the Wikipedia version from Ruby for some sanity checks on results for my MSc thesis, but unfortunately I can't find my cleaned up code right now (at work - I can look for it later today if you like, and unless someone else has posted a full version by then) Vidar