Ruby Hash[key] Showdown :symbol vs “string”
A write-up and a benchmark comparing use of Hash[:symbol] vs Hash[‘string’] for small and large hashes.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A write-up and a benchmark comparing use of Hash[:symbol] vs Hash[‘string’] for small and large hashes.
Post a comment