November 24, 2014Unraveling String Key Performance in Ruby 2.2 Everyone wants their programs to be faster and to take up less memory. However, it’s not often that this is achieved without having to modify source code. This post will introduce optimizations added in Ruby 2.2.0 when working with a Hash and string keys. To understand the optimization, you need to know current behavior. In Ruby 2.1 an
![Unraveling String Key Performance in Ruby 2.2 — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/7649284010e8c3cd73a345521cb7e69aa257cd3d/height=288;version=1;width=512/https%3A%2F%2Fwww.sitepoint.com%2Fwp-content%2Fthemes%2Fsitepoint%2Fassets%2Fimages%2Ficon.ruby.png)