|origin of name heap? email@example.com (Amit Gupta) (2007-08-10)|
|Re: origin of name heap? firstname.lastname@example.org (napi) (2007-08-10)|
|Date:||Fri, 10 Aug 2007 18:47:17 -0700|
|Posted-Date:||10 Aug 2007 21:59:23 EDT|
> I am wondering about the origin of name heap, for heap data-structure
> or the memory pool heap. Why was it named heap?
> [I think you're going to get the same answer you got in other
> newsgroups, because it's not a stack. -John]
A stack follows the stackmanship procedure (pop and push), while a
heap can be arbitrary in terms of its retrieval and recycle
management, hence the term heap.
Return to the
Search the comp.compilers archives again.