This commit is contained in:
krahets
2023-09-24 19:34:21 +08:00
parent 2adf13adf4
commit e3bce848cf
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1110,7 +1110,7 @@ comments: true
| | 数组 | 链表 |
| ---------- | ------------------------ | ------------ |
| 存储方式 | 连续内存空间 | 散内存空间 |
| 存储方式 | 连续内存空间 | 散内存空间 |
| 缓存局部性 | 友好 | 不友好 |
| 容量扩展 | 长度不可变 | 可灵活扩展 |
| 内存效率 | 占用内存少、浪费部分空间 | 占用内存多 |