Classes, Hashes, Structs and OpenStructs in Ruby
Intro
If I am looking to maximize the performance of a Ruby app what should I be using? Hashes, Structs, OpenStruct, or Classes? New Ruby programmers love hashes. I love hashes. They are very flexible and tempting to add in everywhere. Even when refactoring a slow part of the system in Kafka microservices so that the whole feature can go fast, fast, fast…
Keep reading with a 7-day free trial
Subscribe to Dragon Astronauts’ Blog to keep reading this post and get 7 days of free access to the full post archives.