To the Top
File:  root - diary - 2007 - 2007-09 - 2007-09-29_13.50PM.html
Tags: 学习笔记, Learning Notes, | 中文 | Home Page | Category: Computing | 20510 Views, 44151 Search Bots | 117 Characters

Subscribe to Feed Burner | Browse | Archive

总结出几点关于动态数组的
  动态数组在内存中一定是连续存放的
  动态数组每次setLength, 会把以前在内存的东东拷贝到新的位置 然后删掉以前的东东(所以效率很低),所以尽可能一次性分配足够大的内存
  动态数组是自动管理的, 当引用计数为0(可以赋为NIL时) 内存自动销毁 (不包括用new产生的和Object)
Tags: 学习笔记, Learning Notes, | 中文 | Home Page | Category: Computing | 20510 Views, 44151 Search Bots | 117 Characters Subscribe to Feed Burner

Related Articles

  1. 一个刚毕业的计算机相关专业学生,简历上有哪些经历会加分?
  2. BT686 多媒体小电脑
  3. 激荡20年:IE浏览器的辉煌与落寞
  4. Python才是世界上最好的语言
  5. Offer negotiation doesn
  6. 女程序员做了个梦,众网友的神回复
  7. 传RSA加密系统已被密码学大牛破解
  8. RSS 订阅
  9. DELPHI 动态数组小结
  10. This is hard for me too.

Comments (0)

    Be the first one to comment this page !


Page Edited: May 11 2024 14:36:49 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />