High Performance Python: Practical Performant Programming for Humans
By Micha Gorelick, Ian Oszvald
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader: draino
Uploaded At: 2025-05-03 02:36:18
O'Reilly Media; 3rd Edition 2025, Computer Performance Optimization, Programming Algorithms, Python Programming
Description
Your Python code may run correctly, but what if you need it to run faster? This practical book shows you how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. By explaining the fundamental theory behind design choices, this expanded edition of High Performance Python helps experienced Python programmers gain a deeper understanding of Python's implementation.
How do you take advantage of multicore architectures or compilation? Or build a system that scales up beyond RAM limits or with a GPU? Authors Micha Gorelick and Ian Ozsvald reveal concrete solutions to many issues and include war stories from companies that use high-performance Python for GenAI data extraction, productionized machine learning, and more.
- 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
- Process DataFrames quickly with Pandas, Dask, and Polars
- Speed up your neural networks and GPU computations
- Use tools to compile Python down to machine code
- Manage multiple I/O and computational operations concurrently
- Convert multiprocessing code to run on local or remote clusters
Contents
- Understanding Performant Python
- Profiling to Find Bottlenecks
- Lists and Tuples
- Dictionaries and Sets
- Iterators and Generators
- Matrix and Vector Computation
- Pandas, Dask, and Polars
- Compiling to C
- Asynchronous I/O
- The multiprocessing Module
- Clusters and Job Queues
- Using Less RAM
- Lessons from the Field
Other Torrents
by Micha Gorelick, Ian Oszvald
O'Reilly Media, 2025, Computer Science, Software Engineering, Computer Programming, Python
pdf | 0 comments
Computer/Internet
9.8 MiB
kdyn
0
220
by Micha Gorelick, Ian Ozsvald
O'Reilly Media; 2nd edition 2020, Computer Performance Optimization, Programming Algorithms, Python Programming
epub | 0 comments
Computer/Internet
5.7 MiB
draino
0
233
by Micha Gorelick, Ian Ozsvald
O'Reilly Media, 2020, Computer Science, Software Engineering, Computer Programming, Python
pdf | 0 comments
Computer/Internet
10.6 MiB
kdyn
0
222
by Micha Gorelick, Ian Ozsvald
O'Reilly Media (September 20, 2014); 370 pages
pdf | 0 comments
Computer/Internet
7.6 MiB
twosi
0
132