RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

How OpenStruct can kill performance

I was looking into moving some data out of hashes and into objects, and decided to compare the performance of classes, structs, hashes and openstructs. The results were pretty interesting: http://blog.honeybadger.io/how-openstruct-and-hashes-can-kill-performance/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in