Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore surprising truths about Python performance in this 42-minute PyCon US talk that challenges common optimization intuitions. Discover why performance often defies expectations in Python and learn why measurement tools are essential for identifying real bottlenecks. Through interactive case studies using real-world examples, examine counterintuitive scenarios like whether counting even numbers is faster with list comprehensions or generator expressions, how string concatenation methods compare, and the effectiveness of pathfinding optimizations. Starting with why intuition frequently fails in software performance assessment, the presentation guides you through multiple performance puzzles that challenge assumptions about code efficiency. Learn practical approaches to becoming more consistent with optimizations and gain insights into systematic performance improvement techniques. Leave with a deeper understanding of why measurement-based optimization trumps intuition when enhancing Python code performance.
Syllabus
Intuition vs. Reality: Surprising Truths in Python Performance
Taught by
PyCon US