Advanced tricks for optimizing CPU with Python

Опубликовано: 06 Октябрь 2024
на канале: Manning Publications
873
13

Check out Tiago Rodrigues Antao's book 📖 Fast Python for Data Science | http://mng.bz/9N5q 📖 To save 40% off this book ⭐ DISCOUNT CODE: twitanta40 ⭐ In this excerpt from a live coding session, Tiago shares advanced tips and tricks for optimizing CPU with Python.

🎞 Using native Python tools to optimize Python performance |    • Using native Python tools to optimize...  
🎞 Leveraging laziness to improve Python performance |    • Leveraging laziness to improve Python...  
🎞 Concurrency, multiprocessing, and Python's Global Interpreter Lock (GIL) |    • Concurrency, multiprocessing, and Pyt...  
🎞 Optimizing NumPy for speed and efficiency |    • Optimizing NumPy for speed and effici...  
🎞 Using Cython to speed up Python |    • Using Cython to speed up Python  

📚📚📚
Fast Python for Data Science | http://mng.bz/9N5q
To save 40% off this book use discount code: twitanta40
📚📚📚

"Fast Python for Data Science" is a hands-on guide to writing Python code that can process more data, faster, and with less resources. It takes a holistic approach to Python performance, showing you how your code, libraries, and computing architecture interact and can be optimized together. Written for experienced practitioners, this book dives right into practical solutions for improving computation and storage efficiency. You'll experiment with fun and interesting examples such as rewriting games in lower-level Cython and implementing a MapReduce framework from scratch. Finally, you'll go deep into Python GPU computing and learn how modern hardware has rehabilitated some former antipatterns and made counterintuitive ideas the most efficient way of working.