This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Stack Versus Heap
- From: Michael dot Schmidt at L-3com dot com
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 8 Jul 2008 08:59:18 -0500
- 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