Learn AI, Data Science & Business — Earn Certificates That Get You Hired
2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore the latest advancements in Python performance optimization and learn how to write efficient code for modern interpreters in this PyCon US talk. Discover new best practices, understand which old guidelines are no longer relevant, and gain insights into the ongoing efforts to speed up the Python language. Delve into topics such as global variables, attribute lookups, dynamic features, and the comparison between C extensions and Python. Acquire practical knowledge to leverage these optimizations effectively in your own Python projects.
Syllabus
Introduction
Why Python is slow
New projects
Controversial slide
What makes Python slow
Global Variables
Attributes
Happy case
Avoid this
Attribute lookup
Benchmarks
Dynamic features
C extensions vs Python
Conclusion
Taught by
PyCon US