By daniel
via rubyinside.com
Published: Jan 29 2007 / 06:20
After writing a basic routine to print all prime numbers between 1 and 10,000 in Ruby, Pat Eyler found it took almost 3 seconds to complete, and seeked out a way to make it faster. Enter RubyInline (covered previous at RubyInside).. With RubyInline we added a basic C function into the Ruby mix and knocked down the time required to 0.3 seconds.
Add your comment
Voters For This Link (13)
-
daniel -
lowellheddings -
dannylagrouw -
bloid -
javanperl -
rubyminer -
pygmalion -
jongretar -
theecotone -
cha0sth30ry -
gst -
zis -
davneter