Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (28 sloc) 942 Bytes

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.

You can’t perform that action at this time.