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! They sneak in everywhere and I am supposed to be coding for fun right? No? Ok. Back to making stuff fast.
Classes, Hashes, Structs and OpenStructs in Ruby
Classes, Hashes, Structs and OpenStructs in…
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! They sneak in everywhere and I am supposed to be coding for fun right? No? Ok. Back to making stuff fast.