Quantifying the Performance of Garbage Collection vs. Explicit Memory Management
BCS
ao at pathlink.com
Sun Mar 16 20:43:25 PDT 2008
Reply to Craig,
> Interesting article:
> http://lambda-the-ultimate.org/node/2552
> -Craig
>
That test sounds bogus to me. The results for manual memory management are
effectively unbeatable. I rather suspect that most program lose the last
reference to memory about the same time you can tell it won't be used (so
it's almost as quick as possible there) and it has no overhead at all including
the accounting needed to keep track of the memory. Add back in the post processing
time and then tell us the numbers!
What I want to see is: rebuild a Java app with smart pointer or something,
or how about spec a large function block as detailed as you can without
knowing if you will be using GC or not and then implement it both ways (sever
times by sever people). Then compare those.
More information about the Digitalmars-d
mailing list