News for hackers. Stuff that matters.
Re:Python Practices for Efficient Code: Performance, Memory,... by yen223 on Friday August 18, 2017 @04:33PM (#15049500)
Slots have benefits outside of the memory savings. By preventing arbitrary attribute assignment on an object, slots can provide nice guarantees about the shape of an object, making it easier to reason about.

There are no comments on this comment yet.