Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Broken __slots__ are a Silent Performance Killer - Let's Fix Them!

EuroPython Conference via YouTube

Overview

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.

Syllabus

Broken __slots__ are a silent performance killer—Let's fix them! — Arie Bovenberg

Taught by

EuroPython Conference

Reviews

Start your review of Broken __slots__ are a Silent Performance Killer - Let's Fix Them!

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.