Stack Versus Heap

Top Page

Reply to this message
Author: Michael.Schmidt
Date:  
To: gcc
Subject: Stack Versus Heap

Hello,

I've read that allocating objects on the stack is faster than on the
heap. What about deletion? Is deleting an object from the heap a lot
less efficient? Are the performance differences so negligible that they
won't matter?

Are there any papers or articles that address the stack and heap
implementations?

Thanks,
Mike