【问题标题】:Why is the heap (as in where we put objects) called that? [duplicate]为什么堆(就像我们放置对象的地方)这样称呼? [复制]
【发布时间】:2010-11-17 10:50:19
【问题描述】:

可能重复:
What is the origin of the term “heap” for the free store?

堆为什么叫堆?我的意思是我们动态分配位的内存位。

【问题讨论】:

    标签: heap naming


    【解决方案1】:

    我没有对此的引用,但我一直相信它源于“放置东西的地方;有点像堆栈,只是组织得不太好”。

    堆栈对添加和删除内容有严格的规定,但堆没有。

    【讨论】:

      猜你喜欢
      • 2012-01-05
      • 1970-01-01
      • 2012-09-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-06
      相关资源
      最近更新 更多