Skip to content

alouche/levenshtein-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Status Gem Version

levenshtein-c

Standard native C levenshtein implementation (inspired by Schuyler'gem) with unicode support, better re-use of MRI 1.9 structs and much faster than the ffi based spawn.

Time: O(n²) Space: O(n)

Installation

gem install levenshtein-c

Example

require 'levenshtein-c.so'

Levenshtein.distance("helloworld", "hello")

About

Simple Ruby C Levenshtein algorithm lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published