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!

Picking the right data structure

If you see code that’s using an Array, could it use a Set instead? If so, is it worth the time and effort to swap them out? I wrote up some notes on picking the right data structure.

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