DeepRead
Cover of High Performance Python

High Performance Python

Micha Gorelick, Ian Ozsvald · 2014

Programming and computer science › Python

#2,822 most recommended

About the book

A practical guide to making Python code run faster and use memory more efficiently on real hardware. It covers profiling tools, the costs of Python's data structures and the CPython interpreter, and the options for speeding up numerical and CPU-heavy code, including NumPy, Cython, and Numba, along with multiprocessing and distributed approaches. The central claim is that performance work should begin with measurement: profile first to find the real bottleneck, then change the code. The book argues that choosing good data structures and algorithms requires understanding how Python objects, memory, and the interpreter behave. It holds that compiled and vectorised approaches often give large gains, and that the choice of concurrency model should follow whether a workload is CPU-bound or I/O-bound, given the constraints of the Global Interpreter Lock.

Written by Claude from what it knows of this book.

What Hacker News says 62% recommend · 0% critical

05102014202020252024 peak · 6
This bookAverage book in Python

In the commenters’ own words

What Open Library readers say 5.00 from 2 ratings

  1. 52
  2. 40
  3. 30
  4. 20
  5. 10
  • 13 want to read
  • 0 reading
  • 2 have read

Only 2 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2014
ISBN
9781492055020
Editions known
8 at Open Library
Open Library
OL19547492W

Computer algorithmsHigh performance computingOpen source softwarePython (Computer program language)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Effective Python
    Brett Slatkin · 2015 · recommended by 22 people · similar by subject and what people say about it
  • Realm of Racket
    Forrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it
  • Algorithms for Modern Hardware
    Sergey Slotin · 2022 · recommended by 15 people · similar by subject and what people say about it
  • Python For Data Analysis
    Wes McKinney · 2012 · recommended by 29 people · similar by subject and what people say about it
  • Think Bayes
    Allen B. Downey · 2013 · recommended by 37 people · similar by subject and what people say about it
  • Data science from scratch
    Joel Grus · 2015 · recommended by 22 people · similar by subject and what people say about it
  • Architecture Patterns with Python
    Harry J.W. Percival · 2020 · recommended by 12 people · similar by subject and what people say about it
  • Fluent Python
    Luciano Ramalho · 2015 · recommended by 67 people · similar by subject and what people say about it
  • Python in a Nutshell
    Alex Martelli · 2002 · recommended by 9 people · similar by subject and what people say about it
  • Data Science at the Command Line
    Jeroen Janssens · 2014 · recommended by 8 people · similar by subject and what people say about it
  • Dive into Python
    Mark Pilgrim · 2004 · recommended by 94 people · similar by subject and what people say about it
  • Geometry for Programmers
    Oleksandr Kaleniuk · 2023 · recommended by 1 person · similar by subject and what people say about it
  • The Hitchhiker’s Guide To Python
    Kenneth Reitz · 2016 · recommended by 26 people · similar by subject and what people say about it
  • Python Cookbook
    Alex Martelli · 2002 · recommended by 17 people · similar by subject and what people say about it
  • A small matter of programming
    Bonnie A. Nardi · 1993 · recommended by 7 people · similar by subject and what people say about it
  • The Nature of Code
    Daniel Shiffman · 2012 · recommended by 73 people · similar by subject and what people say about it
  • High Performance JavaScript
    Nicholas C. Zakas · 2010 · recommended by 14 people · similar by subject and what people say about it
  • PostgreSQL 9.0 High Performance
    Gregory Smith · 2010 · recommended by 12 people · similar by subject and what people say about it
  • C Concurrency in Action
    Anthony Williams · 2012 · recommended by 14 people · similar by subject and what people say about it
  • Bayesian methods for hackers
    Cameron Davidson-Pilon · 2015 · recommended by 24 people · similar by subject and what people say about it
  • SQL Performance Explained
    Markus Winand · 2011 · recommended by 26 people · similar by subject and what people say about it
  • Learn Python the Hard Way
    Zed Shaw · 2011 · recommended by 246 people · similar by subject and what people say about it
  • Think Stats
    Allen B. Downey · 2011 · recommended by 27 people · similar by subject and what people say about it
  • Python machine learning
    Sebastian Raschka · 2015 · recommended by 5 people · similar by subject and what people say about it