~/talk

Optimize first, parallelize second: a better path to faster data processing

Talkat PyData Global 2023 · 2023-12-06..12-08· [developer-experience]
slides:none on file

If code is slow, the decisive details are what actually changes performance: the measured speedup numbers, the algorithmic complexity fixed, the architecture or library that removes wasted work, and whether a tuned implementation runs reliably faster. Prioritize optimize first, fix hot spots with profiling and better algorithms or a different library (pandas vs Polars, NumPy/SciPy, scikit-image), then consider parallelize second only if single-core limits remain.

AI-written summary · about

  1. 0:00Software performance priorities
  2. 1:12Data processing performance focus
  3. 3:01Slow software problems
  4. 5:11Faster CPUs won't fix issues
  5. 6:35Parallelism as solution
  6. 8:41Optimization overlooked
  7. 10:07Parallelism limits
  8. 11:31Parallelism costs unchanged
  9. 14:20Optimization vs parallelism costs
  10. 16:06Performance optimization levels
  11. 17:10Pandas vs Polars differences
  12. 20:18Avoid quadratic algorithms
  13. 22:03Image processing with LUTs
  14. 24:07Tuning for CPU features
  15. 25:30Optimize before parallelize
  16. 27:36Closing remarks
  17. 27:58Q&A on Python optimization
~/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.