2 ms·
Hashes are faster than structs? Not in my experience. You can speed up code considerably by using a struct instead of a hash. An OpenStruct is slower than a ha
by philwelch 12y ago
Hashes are faster than structs? Not in my experience. You can speed up code considerably by using a struct instead of a hash.
An OpenStruct is slower than a hash, but then again, an OpenStruct is kind of pointless.