RSS Feed for Short Ruby Email Courses · Mar 29, 2024
Micro benchmarking value objects in Ruby
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
<p>As I was working on another email part of my <a href="https://learn.shortruby.com/courses/modern-ruby">Modern Ruby course via email</a> I wanted to make some micro benchmarks on <code>Data.define</code> vs <code>Struct</code> vs <code>OpenStruct</code></p> <p>They are not a production-level benchmark, so take them with a grain of salt.</p> <p>I added all code and results in a repo at <a…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.