Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Thank you for checking in!

If you find any typos, errors, or have an better example. Just raise a new issue or open a pull request!

<3

These idioms list here are trying to satisfiy following goals:

GOALS

Note on entry

Fast code first.

require 'benchmark/ips'

def fast
end

def slow
end

Benchmark.ips do |x|
  x.report('fast code description') { fast }
  x.report('slow code description') { slow }
  x.compare!
end

Run your result:

$ ruby -v code/your-new/entry.rb

Thanks in advance!!! Look forward to learning more from you!

<3 JuanitoFatas

License

The documentation is CC BY-SA 4.0 (International).

And code will be CC0 1.0 Universal.