~/talk

Numerical Marvels Inside Python - Keynote

Talkat PyData Tel Aviv 2022 · on Tuesday, 2022-12-13· [python]
slides:none on file

Concrete wins and how they are achieved appear: math.factorial drops from microseconds to factorial in nanoseconds by pulling out evens and left‑shifting; math.comb uses precomputed log factorials and a 64‑bit modular homomorphism to deliver combinations in 31 ns for 52 choose 31; summation gets deterministic accuracy via pairwise reduction, Kahan/Neumaier, and fsum; math.hypot becomes accurate and multi-dimensional using scaling, Dekker splitting, compensated sums and a final correction, with measured runtimes in tens of nanoseconds.

AI-written summary · about

  1. 0:00Welcome
  2. 1:03Python’s numerical internals
  3. 2:50Core math developers
  4. 3:12Lightning-fast factorial
  5. 8:11Optimizing combinations
  6. 13:05Group theory speedups
  7. 20:11Floating point accuracy
  8. 26:36Numpy’s pairwise sum
  9. 27:21Kahan summation variants
  10. 29:25math.fsum magic
  11. 34:02Computing hypotenuse without overflow or error
  12. 42:36Fast multi-D hypot
  13. 44:23Accurate hypot in ML
  14. 45:05Q&A
~/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.