Shopify/batman — pull request #347 by hornairs (2012-02-29 18:51:43+00:00)
Title: Make SimpleHash use a normal object for storing string keys to be less memory greedy

Performance gets marginally worse for setting object keys:

![](https://img.skitch.com/20120229-m2d6f52bmp1ik71e4f3ddkhjye.jpg)

memory usage remains the same when using objects as the keys but memory usage is much smaller when using strings as the keys:

![](https://img.skitch.com/20120229-ckterihy13ckwt5dw8ws37t7s7.jpg)

@jamesmacaulay, @nciagra, thoughts?