Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk gives a high-level overview of techniques for speeding up CPython, using simple examples and diagrams to explain its runtime optimizations and possible future performance gains.
Syllabus
Intro
Time vs Speed
Achieving 5x speedup Equivalent to a 80% reduction in execution time
Need to consider all aspects of the runtime
Where is the time spent?
General Principles
Example class and instance
The early days
Python object
Interlude: Bytecode
The past
The future
Region formation
Specialization
Partial Evaluation
Optimization techniques
Conclusions
Taught by
PyCon US