Faster Python Startup
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore techniques for improving Python startup speed in this conference talk from EuroPython 2018. Learn about the challenges of cPython's startup time increasing linearly with imported modules and discover an innovative approach to optimize performance. Delve into the method of embedding code objects from .pyc files directly into the cPython binary's data segment, eliminating the overhead of reading and un-marshalling at startup. Understand how this technique, similar to image-based languages like Smalltalk, can make module loading as efficient as pointer dereferencing. Follow along as the speaker discusses the implementation process for Python 3.6, challenges faced, benchmark results, and potential future developments. No prior experience with cPython internals is required to grasp the concepts presented in this insightful 28-minute talk.
Syllabus
Jeethu Rao - Faster Python startup
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube