A demonstration of refactoring a very slow ruby method into a C shared library, and then exposing it to Ruby using Fiddle.