2 ms·
It's not worth it, because as soon as you go down this route you're going to be constantly thinking about the GC. If I add a cyclic reference here will that ma
by jleahy 10y ago
It's not worth it, because as soon as you go down this route you're going to be constantly thinking about the GC.
If I add a cyclic reference here will that make GCs longer? Maybe I should have a free list and reuse these objects (after all they're responsible for most of my allocations)?
As soon as you're thinking like that as you write each line of code you've lost all of the benefits of the language being high-level, and you'd be better of controlling memory manually.