Skip to content

Instantly share code, notes, and snippets.

Created March 22, 2012 09:28
Show Gist options
  • Save anonymous/2ac28d026c757af2bef3 to your computer and use it in GitHub Desktop.
Save anonymous/2ac28d026c757af2bef3 to your computer and use it in GitHub Desktop.
[58] pry(main)> Benchmark.measure {10000000.times {h["durq"]}}
=> 5.000000 0.016000 5.016000 ( 5.015625)
[59] pry(main)> Benchmark.measure {10000000.times {h2[:durq]}}
=> 1.812000 0.000000 1.812000 ( 1.812500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment