Faster Virtual Method Dispatch

Sean Kelly sean at f4.ca
Tue Apr 25 08:36:05 PDT 2006


kris wrote:
> 
> There again, I suspect fear of the GC is somewhat overplayed; although 
> it certainly troubles me when it is abused. Thus, it doesn't bother me 
> at all that Ares kinda' needs a GC also. Perhaps it's more a question of 
> libraries, and code in general, treating it with a little respect :)

At the very least, a GC is required if you want to do much of anything 
useful with dynamic arrays.  For apps with a huge footprint, I may 
follow this route and define a custom allocator for all object types.

> After all, using any kind of malloc() should perhaps be a question-mark 
> for high-performance code

True enough.


Sean



More information about the Digitalmars-d mailing list