Skip to Content
《高性能 Python》第二版
book

《高性能 Python》第二版

by Micha Gorelick, Ian Ozsvald
May 2025
Intermediate to advanced
468 pages
6h 20m
Chinese
O'Reilly Media, Inc.

Overview

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

您的 Python 代码可能运行正确,但您需要它运行得更快。本扩展版已针对 Python 3 进行了更新,向您展示如何找到性能瓶颈,并显著加快高数据量程序中的代码运行速度。通过探索设计选择背后的基本理论,《高性能 Python》帮助您更深入地理解 Python 的实现。

如何利用多核架构或集群?或者构建一个在不损失可靠性的情况下可扩展的系统?经验丰富的 Python 程序员将学习许多问题的具体解决方案,以及使用高性能 Python 进行社交媒体分析、生产化机器学习等的公司实战案例。

  • 更好地掌握 NumPy、Cython 和性能分析工具
  • 了解 Python 如何抽象底层计算机架构
  • 使用性能分析工具识别 CPU 时间和内存使用瓶颈
  • 通过选择合适的数据结构编写高效程序
  • 加速矩阵和向量计算
  • 使用工具将 Python 编译为机器代码
  • 同时管理多个 I/O 和计算操作
  • 将多进程代码转换为在本地或远程集群上运行
  • 使用 Docker 等工具更快地部署代码
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

《学习 Python》第 5 版

《学习 Python》第 5 版

Mark Lutz
ppk on JavaScript

ppk on JavaScript

Peter-Paul Koch

Publisher Resources

ISBN: 9798341657946