Ruby 2.4 got released this Christmas with a lot of exciting features. One of the most underrated features in ruby 2.4 is hash table improvements. Before going into details about implementation, let’s first check the benchmark to know how this change gonna affect your ruby application. Some benchmarks are: Getting keys and values of a hash h = {} 10000.times do |i| h[i] = nil end # Get all hash val
![Behind the scenes of hash table performance in ruby 2.4 – redpanthers.co](https://cdn-ak-scissors.b.st-hatena.com/image/square/4d28c02d2eae1d7c73b6567bab28381828910684/height=288;version=1;width=512/http%3A%2F%2Fi.imgur.com%2FzGSViFd.png)