上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页
摘要: 《CPython Internals》学习第 18天,p353-p355 总结,总计 3 页。 一、技术总结 1.benchmark(基准测试) Python中常用的 benchmark 有 timeit, pyperformance。 (1)timeit $ ./python -m timeit 阅读全文
posted @ 2025-01-24 23:18 codists 阅读(15) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 17天,p336-p352 总结,总计 17 页。 一、技术总结 1.GDB GDB 是 GNU Dbugger 的缩写。 (1)安装 sudo apt install gdb (2)创建 .gdbinit 文件 touch ~/.gdbinit vim 阅读全文
posted @ 2025-01-23 23:51 codists 阅读(25) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 16天,p329-p335 总结,总计 7 页。 一、技术总结 1.debugging p331, There are two types of debugger, console and visual——作者将 debugger分为两类:(1)cons 阅读全文
posted @ 2025-01-22 23:59 codists 阅读(20) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 15天,p285-p328 总结,总计 44 页。 一、技术总结 1.shallow comparison p285, In Objects object.c, the base implementation of the object type is 阅读全文
posted @ 2025-01-21 13:58 codists 阅读(17) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 14天,250-p284 总结,总计 25 页。 一、技术总结 介于我觉得作者写得乱七八糟的,读完我已经不想说话了,所以今日无技术总结。 二、英语总结(生词:2) 1.spawn (1)spawn: 来自于词根 expandere。 (2)expande 阅读全文
posted @ 2025-01-20 14:21 codists 阅读(40) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 13天,p232-p249 总结,总计 18 页。 一、技术总结 无。 二、英语总结(生词:1) 1.overhead (1)overhead: over-("above") + head(“top part, uppermost section”) o 阅读全文
posted @ 2025-01-19 23:53 codists 阅读(32) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 12天,p221-p231 总结,总计 11 页。 一、技术总结 无。 二、英语总结(生词:2) 1.at a time idiom. separately(单独地) in the specified groups(一次)。示例: (1) I can o 阅读全文
posted @ 2025-01-17 23:58 codists 阅读(21) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 11天,p177-p220 总结,总计 44 页。 一、技术总结 1.memory allocation in C (1)static memeory allocation Memory requirements are calculated at co 阅读全文
posted @ 2025-01-16 22:44 codists 阅读(13) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 10天,p152-p176 总结,总计 25 页。 一、技术总结 1.adding an item to a list my_list = [] my_list.append(obj) 上面的代码涉及两个指令:LOAD_FAST, LIST_APPEND 阅读全文
posted @ 2025-01-15 23:22 codists 阅读(17) 评论(0) 推荐(0)
摘要: 《CPython Internals》学习第 9天,p151-p1510 总结,总计 1 页。 一、技术总结 无。 二、英语总结(生词:1) 1.marshal (1)marshaling Marshalling or marshaling(US spelling) is the process o 阅读全文
posted @ 2025-01-14 22:44 codists 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页