Fast Python aggressively rehashes the basics of Python programming in order to dispel myths and misconceptions about how to write fast code. Readers equipped with the lessons from this book will be able to test, diagnose, and optimize out performance bottlenecks in their own work. For each algorithm discussed, readers will walk through numerous progressively faster methods of programming it, all while picking up bits of fundamental knowledge about time complexity, memory efficiency, data structures, multi-threading, and vectorization. As such, this book is relevant to veterans looking refresh their methods and to computer science students navigating Algorithms 101. This book maintains a high standard of reproducibility. All of the graphics, tables, and code profiles contained in this book are fully reproducible and available to anyone in a public GitHub repository.
Fast Python aggressively rehashes the basics of Python programming in order to dispel myths and misconceptions about how to write fast code. Readers equipped with the lessons from this book will be able to test, diagnose, and optimize out performance bottlenecks in their own work. For each algorithm discussed, readers will walk through numerous progressively faster methods of programming it, all while picking up bits of fundamental knowledge about time complexity, memory efficiency, data structures, multi-threading, and vectorization. As such, this book is relevant to veterans looking refresh their methods and to computer science students navigating Algorithms 101. This book maintains a high standard of reproducibility. All of the graphics, tables, and code profiles contained in this book are fully reproducible and available to anyone in a public GitHub repository.