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
Investment Strategies and Portfolio AnalysisRice University via Coursera Advanced R Programming
Johns Hopkins University via Coursera Supply Chain Analytics
Rutgers University via Coursera Технологическое предпринимательство
Moscow Institute of Physics and Technology via Coursera Learn How To Code: Google's Go (golang) Programming Language
Udemy