From: Ryan Davis Date: 2012-10-11T05:55:41+09:00 Subject: Re: [ANN] google_hash v 0.7.0 released. Faster hashes for MRI. On Oct 10, 2012, at 12:00 , Roger Pack wrote: > The goal: a better hash for Ruby, either one that is faster or more > space efficient than ruby's default. > To attempt to accomplish this, this library wraps the google hash > sparse and dense hashes [1], which seem to perform much better > at least for the #each method. It also creates some "specialized" > hashes, for instance, those that take an integer for their key, > for even better performance. From the readme: > These also use significantly less memory, because (if you specify IntToInt, it stores only 4 bytes per int, instead of Ruby's usual 20 bytes). This also frees up Ruby so it doesn't hvae to garbage collect as much. Yea! 20 bytes?? What exactly is this referring to?