Barely noticeable performance difference unless the hash has something in the order of 10000 keys. https://gist.github.com/JonRowe/6280298