No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit behind gaar4ica:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext/common_math
lib
.gitignore
README.md
ruby_ext_in_crystal_math.gemspec

README.md

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