2 ms·
Do they need to be run in a specific order? Could you maintain a linked list of all objects, and at exit go through it at exit and run the finalizes? Might be f
by Paul-ish 10y ago
Do they need to be run in a specific order? Could you maintain a linked list of all objects, and at exit go through it at exit and run the finalizes? Might be faster than actually reclaiming the memory as well.
- icebraining 10y agoMaintaining that list through the whole process duration just to use it in the end sounds expensive, both in CPU and memory terms.