This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]