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

Subscribe to Feed Burner | Browse | Archive

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

Related Articles

  1. EPSON XP-322 打印机, 固件升级
  2. Evernote 用户只用了 5%的功能,这着实给科技公司上了一课
  3. RSS 订阅
  4. 程序员
  5. DELPHI 动态数组小结
  6. MySql
  7. 儿童编程热和计算机思维的培养
  8. 俄罗式方块 BASH
  9. Offer negotiation doesn
  10. 小事 | 选择比努力更重要

Comments (0)

Your Email (Domain Part Not Exposed):

Your Comments:

Privately By Mail Colors More Smileys S x y @

Verification (Click Image 2 Refresh):

    Be the first one to comment this page !


Page Edited: October 30 2020 14:21:09 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />