High Performance Python

High Performance Python

Practical Performant Programming for Humans

by Micha Gorelick, Ian Ozsvald

370 pages· 2014· ISBN 9781449361761
About
Your Python code may run correctly, but you need it to run faster. By exploring the fundamental theory behind design choices, this practical guide helps you gain a deeper understanding of Python’s implementation. You’ll learn how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. How can you take advantage of multi-core architectures or clusters? Or build a system that can scale up and down without losing reliability? Experienced Python programmers will learn concrete solutions to these and other issues, along with war stories from companies that use high performance Python for social media analytics, productionized machine learning, and other situations. Get a better grasp of numpy, Cython, and profilers Learn how Python abstracts the underlying computer architecture Use profiling to find bottlenecks in CPU time and memory usage Write efficient programs by choosing appropriate data structures Speed up matrix and vector computations Use tools to compile Python down to machine code Manage multiple I/O and computational operations concurrently Convert multiprocessing code to run on a local or remote cluster Solve large problems while using less RAM

Discuss High Performance Python with other readers

Join or start a book club for High Performance Python on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for High Performance Python?

Sign up free on Readfeed, then browse public clubs or start your own club with High Performance Python as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss High Performance Python with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about High Performance Python with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.