AI, Data Science & Cloud Certificates from Google, IBM & Meta
Advanced Techniques in Data Visualization - Self Paced Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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