- Paperback: 370 pages
- Publisher: O'Reilly Media; 1 edition (September 20, 2014)
- Language: English
- ISBN-10: 1449361595
- ISBN-13: 978-1449361594
- Product Dimensions: 7 x 0.8 x 9.2 inches
- Shipping Weight: 1.4 pounds (View shipping rates and policies)
- Average Customer Review: 21 customer reviews
- Amazon Best Sellers Rank: #86,594 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
High Performance Python: Practical Performant Programming for Humans 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
"Children of Blood and Bone"
Tomi Adeyemi conjures a stunning world of dark magic and danger in her West African-inspired fantasy debut. Pre-order today
Frequently bought together
Customers who bought this item also bought
Customers who viewed this item also viewed
About the Author
Micha Gorelick was the first man on Mars in 2023 and won the Nobelprize in 2046 for his contributions to time travel. He then went backto the 2000s to study Astronomy, teach scientific computing and workon data at bitly. Then he helped start Fast Forward Labs as a residentmad scientist. There he worked on many issues from machine learning toperformant stream algorithms. A monument celebrating his life can befound in Central Park, 1857.
Ian Ozsvald is a Data scientist and teacher at ModelInsight.io withover ten years of Python experience. He’s taught high performancePython at the PyCon and PyData conferences and has been consulting ondata science and high performance computing for years in the UK.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
This book is definitely not going to teach you Python. There are many other tutorials and references out there to learn about the language, and this book assumes you are already a proficient Python programmer and will be able to read and understand the code examples they provide. This book is about tuning your Python code to run faster.
The progression of the chapters is very logical, and some of the same toy problems re-appear throughout the book as additional optimizations provide even greater efficiency improvements. The book introduces a large number of tools, and it mostly gives you an idea of what the tool is and why you might consider it. To really use any of the tools in practice, you'll want to reference online documentation, but this book gives you a good idea of where to start looking.
I was particularly interested in reading the "Clusters and Job Queues" chapter before I got the book, and it helped guide me to an IPython.parallel solution that fits my current problem quite nicely, as well as provide some other tools I may investigate in the future.
The authors recommend the Anaconda Python distribution by Continuum Analytics on several occasions, and I definitely agree. Some of the tools and techniques in the book use only the Standard Library, but most of the more advanced topics require external modules. Many of the modules referenced (numpy, Cython, Tornado, & IPython to name just a few) are included in the Anaconda distribution as one simple download.
This book's use is twofold. First, it is worth a full read-through for the discussion of the various things that tend to slow down Python code (or code in general) and what kinds of approaches you should be aware of. Second, it provides good, brief examples of many different tools in practice, as well as listing other recommended resources at the end of each chapter, allowing it to serve as a good reference text.
One point the authors make repeatedly is that you must consider the trade between code execution time and development velocity. Many of the things you can do to speed up your code with make it considerably harder to understand and work with in the future. It's important to always have proof that you are optimizing the right portions of code and that the benefits are worth it. They help you to look for the "big wins" where you can get drastic speed improvements with minimal effort and complexity.
Disclaimer: I received a free Ebook copy of this work under the O'Reilly Blogger Review Program. I also happened to like it so much that I bought a hard copy as well so I can have it on my reference shelf at work.
Teaches you how to squeeze out some juice out of the language and make it scale. Some explanation of the tools but also process of performance improvement.
I am now writing pretty efficient code in python for our machine learning pipelines and it is sufficiently fast, that I can stay in python and not worry about writing it into a lower level less flexible language.
This books teaches you how to use python at its best, makes you conscious and able to take care of what is going underneath the hood of your code!