~/talk

How we are making CPython faster. Past, present and future.

Talkat PyCon US 2023 · 2023-04-19..04-27· [python]
links:none on file
slides:none on file

Sums the concrete claim that CPython 3.11 is noticeably faster than 3.10 with measured benchmarks (pyperformance style) and shows the actual changes applied, notably the specializing adaptive interpreter (PEP 659) and targeted bytecode/allocator tweaks, explains which microbenchmarks move and which don’t, gives surprise numbers for real workloads, and offers projected percent gains and concrete tooling and tradeoffs for how much faster 3.12 and later releases might become.

AI-written summary · about

  1. 0:00Intro
  2. 1:09Time vs Speed
  3. 1:49Achieving 5x speedup Equivalent to a 80% reduction in execution time
  4. 2:27Need to consider all aspects of the runtime
  5. 3:08Where is the time spent?
  6. 5:05General Principles
  7. 6:56Example class and instance
  8. 7:29The early days
  9. 11:57Python object
  10. 13:09Interlude: Bytecode
  11. 13:50The past
  12. 16:04The future
  13. 17:43Region formation
  14. 18:31Specialization
  15. 18:55Partial Evaluation
  16. 23:11Optimization techniques
  17. 26:22Conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.