ShortRuby / submit

7 stars 0 forks source link

`true`, `false` and `nil` in Ruby 💎 #95

Closed Mth0158 closed 1 month ago

Mth0158 commented 5 months ago

Link to the content

https://mathieu-eustachy.com/articles/in-depth-ruby-memory-optimisation-true-false-and-nil

Anything else

This is a small detour in the publication of my article series about “low-level” computing concepts applied to Ruby.

Today we are going to talk about the three basic immediate objects in ruby that are true, false and nil. You will learn how to easily optimise memory allocation making better use of these 3 objects and why they work this way.

This article is the 1st one of an article series about memory optimisation technique that you can put in place in you every day Ruby developer routine.

Hope you like it! ✌️