High Performance Python (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已经能写 Python 脚本,但遇到大数据量或计算密集型任务就卡住的中级开发者
- 从事数据分析、科学计算,需要 NumPy、Pandas、Cython 加速手段的工程师
- 想系统了解剖析工具与性能测试方法的技术人员
- 准备做技术选型,需要快速比较 Numba、PyPy、Dask 等方案的人
Not a good fit for
- 完全没有 Python 基础的初学者,书中默认读者熟悉语法与常用库
- 只想找现成代码片段、不愿动手跑基准测试的读者
- 期待深入讲解 CPython 解释器内部实现的读者,本书偏工程实用
Reading tips
- 先读第1章和第9章,建立“先测量后优化”的流程观,再按需翻中间章节
- 把你自己的慢代码替换书中的粒子模拟器做练习,对照不同方案的耗时变化
- 读 Cython、Numba、PyPy 部分时务必在本地环境实际编译运行,否则很难体会差异
- 分布式一章可按现有技术栈挑 Dask 或 PySpark 其中一条路线深入,不必全读
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Benchmarking and Profiling
- Chapter 2 Pure Python Optimization
- Chapter 3 Fast Array Operations with NumPy and Pandas
- Chapter 4 C Performance with Cython
- Chapter 5 Exploring Compilers
- Chapter 6 Implementing Concurrency
- Chapter 7 Parallel Processing
- Chapter 8 Distributed Processing
- Chapter 9 High-Performance Design
FAQ
这本书和《Python高性能编程》是同一本吗?
需要什么基础才能读?
书里的例子用的是 Python 2 还是 3?
篇幅不大,内容会不会太浅?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.