3 ms·
I looked up Crystal. Crystal "class" objects are heap allocated, so in this example "y" is allocated as a separate heap object to the X. As I outlined in my pos
by roca 10y ago
I looked up Crystal. Crystal "class" objects are heap allocated, so in this example "y" is allocated as a separate heap object to the X. As I outlined in my post, that isn't what I was asking for.