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

Subscribe to Feed Burner | Browse | Archive

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

Related Articles

  1. Offer negotiation doesn
  2. 哪些SEO方法会被搜索引擎认为是作弊
  3. 干掉甲骨文的,不是神对手,而是猪自己
  4. 批量删除新浪微博的方法
  5. SSL Certificates and PCI Scanning
  6. 为什么不能在中国设立第十四个根域名服务器
  7. 腾讯,从公敌到大哥
  8. AlphaGo第97手失误,李世石为人类赢下荣誉之战
  9. Getting a LOT of interviews
  10. MySql

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" />