Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Heap / Stack Access Speed

Name: Anonymous 2010-01-14 2:10

Quick question. Using C, is memory or the program's stack faster to access then the memory that's allocated on the heap?

Name: Anonymous 2010-01-14 2:34

>>3
Incorrect, but the difference is very, very tiny. When using heap memory, it's possible that the page could be inside the page/swap file. Most people wouldn't need to worry about that thought.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List