Slot or not: higher performance custom objects in pure Python | Talks
__slots__ are versatile for certain kinds of uses and users, if you know how they work. At first glance, they seem like a free lunch, with improvements in both time and space. At second glance, they seem to have so many caveats to make them not worth using. This talk is a deep dive into how __slots__ work, how to wring every benefit out, as well as the actual caveats and alternatives, with recommendations for writers of core libraries as well as end users.
Aaron Hall
Aaron Hall has developed reports, tools, portals, and user interfaces for both technologists and business users - focused on building an optimally maintainable code base using recognized best practices, and is in the top 1% on StackOverflow focusing on Python. He has experience in Python software development lifecycle and risk architecture.
Portland Ballroom 254-255
Saturday, 20th May, 16:30 - 17:00