Suffering from poor application performance? Reach for High Performance Python -- the only book that fully addresses the theory and practice of Python optimization. While Python can help you implement complex, mission-critical applications from scratch, poorly optimized code can waste millions of processor cycles. This book focuses on common causes of poor performance, from the algorithmic roots of code to Python-specific idioms, and shows you how to make your Python code as efficient as possible. You'll get a practical view of theoretical computer science and optimization that most people outside of the postgraduate arena never see. Not only will you learn how to improve application performance, you'll become a more thoughtful programmer.
Get practical examples to help you grasp the theory of computation and algorithms
Learn specific improvements for Python by understanding the basics of optimization
Gain significant increases in application performance by making simple alterations
Work with iteration, imaging, strings, precedence, function calling, and math
Acquire a framework for understanding programming languages in general
Though High Performance Python is now in progress, you can still get going on Python optimization through our Rough Cuts edition, which lets you read the manuscript as it evolves, either online or via PDF.
The Rough Cuts service offers several options. You can purchase online access to the book with unlimited online viewing and PDF downloads of each revision, pre-purchase the print book at a significant discount, or get the best of both worlds - online access immediately and the discounted print book later. Any way you cut it, you will receive the finished product when it is published. Rough Cuts books are published from a few months to a year after being included in the program. Note: Safari Library subscribers have unlimited online access to all Rough Cuts books.