|
|
|
|
|
by eru
689 days ago
|
|
> Destructors with cascading deletions can take time bounded only by memory allocation, but you can solve that for instance by destroying them on a separate thread, or having a linked list of objects to be destroyed and destroying a constant number/memory size of them on each allocation. You can run your garbage collector on a separate thread, too. Or use a real time garbage collector. |
|