3 ms·
But only for structs. We really need to get actual reference counting into the language to cover classes properly as well. It has been on my todo list to writ
by alphaglosined 4y ago
But only for structs.
We really need to get actual reference counting into the language to cover classes properly as well.
It has been on my todo list to write a DIP for this for a while now. ~rikki.
- ntrel 4y agoClass instances can go on the stack too using `scope`: scope obj = new Object; ... // destroyed at end of scope