Skip to content

Commit edd52ab

Browse files
committed
新增「循环垃圾回收(分代 GC)」章节,全书完结
1 parent 4b8b129 commit edd52ab

11 files changed

Lines changed: 521 additions & 6 deletions

File tree

.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default defineConfig({
9090
text: '第 6 部分:内存管理',
9191
items: [
9292
{ text: '内存分配与引用计数(pymalloc)', link: '/memory/allocation-refcount/' },
93-
{ text: '循环垃圾回收(分代 GC)(编写中…)', link: '/' }
93+
{ text: '循环垃圾回收(分代 GC)', link: '/memory/garbage-collection/' }
9494
]
9595
}
9696
],

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
## 第 6 部分:内存管理
4646

4747
- [内存分配与引用计数(pymalloc)](memory/allocation-refcount/index.md)
48-
- 循环垃圾回收(分代 GC)
48+
- [循环垃圾回收(分代 GC)](memory/garbage-collection/index.md)

index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
- [x] 第 3 部分:编译
3030
- [x] 从源码到字节码(编译过程)
3131
- [x] 编译的产物:code object 与 pyc
32-
- [ ] 第 4 部分:虚拟机
32+
- [x] 第 4 部分:虚拟机
3333
- [x] Python 虚拟机框架(帧对象与求值循环)
3434
- [x] 一般表达式与名字空间
3535
- [x] 控制流:跳转、循环与迭代器
3636
- [x] 异常机制:block 栈与栈展开
3737
- [x] 函数机制:调用、参数与闭包
3838
- [x] 生成器与协程
39-
- [ ] 第 5 部分:运行时
39+
- [x] 第 5 部分:运行时
4040
- [x] Python 运行环境初始化
4141
- [x] 模块与 import 机制
4242
- [x] 多线程与 GIL
43-
- [ ] 第 6 部分:内存管理
43+
- [x] 第 6 部分:内存管理
4444
- [x] 内存分配与引用计数(pymalloc)
45-
- [ ] 循环垃圾回收(分代 GC)
45+
- [x] 循环垃圾回收(分代 GC)
Lines changed: 43 additions & 0 deletions
Loading
Lines changed: 47 additions & 0 deletions
Loading
Lines changed: 56 additions & 0 deletions
Loading
Lines changed: 49 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)