fast-ruby icon indicating copy to clipboard operation
fast-ruby copied to clipboard

Adding benchmark to test :key vs 'key' when generating a hash

Open konung opened this issue 7 years ago • 0 comments

This is a benchmark to show that for larger hash the difference in using :key vs 'key' for hashes could be significant, especially using latest versions of Ruby ( 2.4.2)

Juanito let me know what you think. If you like this benchmark - I have a couple more ideas. Thanks

konung avatar Oct 08 '17 00:10 konung