Tag: OOP
-
Python __slots__: 40% Memory Savings and Interview Gotchas
Cut Python class memory by 40% with __slots__โplus the 3 gotchas interviewers use to catch candidates who only read the docs.
Cut Python class memory by 40% with __slots__โplus the 3 gotchas interviewers use to catch candidates who only read the docs.