Skip to content

gaar4ica/ruby_ext_in_crystal_math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native Extension for Ruby written in Crystal

  1. Install crystal.
  2. Add ruby_ext_in_crystal_math to your Gemfile:
gem 'ruby_ext_in_crystal_math', github: 'gaar4ica/ruby_ext_in_crystal_math'
  1. Run bundle install

Benchmark Results

$ irb
2.1.6 :001 > require 'common_math'
 => true
2.1.6 :002 > CommonMath.measure
       user     system      total        real
rb  7.940000   0.010000   7.950000 (  7.963207)
cr  0.430000   0.000000   0.430000 (  0.431696)
 => nil

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published