~/talk

Furious & Fast Python 7: Writing Fast Python Code

Talkat PyData Fest Amsterdam 2020 · 2020-06-15..06-20· [python]
slides:none on file

Claims a concrete M-I-S-S-I framework (Measurement, Intuition, Structure, Specialization) and shows tools and data: benchmarks with scalene and pyspy reveal that a plain list comprehension is fastest across versions but which micro‑optimum wins flips between Python 3.5–3.9, a Python function call maps to ~7 C stack frames, numpy sometimes runs ~200× faster, and a tiny predicate push-down prototype (generators as first‑class thunks) demonstrates viable fusion and push‑down optimizations for simple cases while warning slots and blind micro‑jitting often mislead.

AI-written summary · about

  1. 0:00Fast Python code intro
  2. 7:28MISSI optimization framework
  3. 10:36Static micro-optimizations fail
  4. 20:00Common speed intuitions debunked
  5. 32:36Structure for Python performance
  6. 44:31Restricted computation domains
  7. 57:22Specialization and structuring
  8. 1:03:38MISSI summary
  9. 1:05:43Q&A: graph libs & generators
~/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.