Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Paul-ish
9y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
icebraining
9y ago
Maintaining that list through the whole process duration just to use it in the end sounds expensive, both in CPU and memory terms.
j
/
k
navigate · click thread line to collapse