Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover practical techniques for optimizing Python 3 code performance in this 42-minute conference talk from EuroPython 2022. Explore various levels of optimization in Python, learn efficient methods for measuring code execution time, and examine real-world examples of improved code structures. Gain insights into the fastest ways to remove duplicates from lists, leverage built-in functions for better performance, alternatives to traditional for loops, and optimal data structures for lookups. Understand when to apply the "it's easier to ask forgiveness than permission" (EAFP) principle in Python programming. Focus on practical, impactful optimization strategies rather than minute details, equipping yourself with valuable knowledge to write faster, more efficient Python code.