3 ms·
Writing Object Shape friendly code in Ruby
- Alifatisk 3y ago> NULL.freeze # not strictly necessary, but makes it Ractor-safe Interesting, what makes freezing the constant Ractor-safe? Do I have to do it for all constants in a Class? Does this apply to instance variables aswell?