Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / danlynn / Levenshtein-in-Ruby-with-inline-C-and-Java-optimizations
Public GitHub Catalog Discovered Sep 25, 2026

danlynn / Levenshtein-in-Ruby-with-inline-C-and-Java-optimizations

The Levenshtein string distance algorithm is a great way to determine how similar two strings are to each other. However, it is very CPU intensive. Therefore, I added INLINE Java and C versions of the core algorithm which produce 60x and 500x improvements in performance over the pure ruby implementation. This code will automatically fail back to a pure ruby implementation if any of the dependencies for the inline optimizations aren't met.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#3462112GitHub System ID
danlynnOrganization / User
PublicVisibility
ActiveCatalog Status

More from danlynn

↗

danlynn/rails

Docker image for rails 3.2.21 on ruby 1.9.3

Discovered
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner