Closed simonask closed 15 years ago
I've decided that this is actually a bad idea, since it would only complicate the gc, without adding significant performance benefits.
What can be done instead, is flagging leaf scopes in the Codegen (that is, scopes that don't have any subscopes), since those scopes don't need to allocate their Scope object through the gc.
Closing this.
... and other objects that get created and deleted very frequently. A separate bucket allocator would decrease the strain on the GC for each method call, hopefully making full gc's occur less frequently.