Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn to identify and fix performance issues with Python's `__slots__` feature in this 29-minute conference talk from EuroPython 2025. Discover how `__slots__` can become a silent performance killer when implemented incorrectly, despite their promise of reduced memory usage and faster attribute access. Examine up-to-date benchmarks that reveal what you can realistically expect from `__slots__` in modern Python environments, dispelling common misconceptions about their effectiveness. Explore real-world failure scenarios including overlapping definitions and broken inheritance patterns that can undermine your application's performance rather than improve it. Master diagnostic techniques to identify these problematic implementations and discover how to integrate automated detection tools into your CI/CD pipeline to prevent `__slots__` from becoming a hindrance to your code's performance.