Accessors vs attributes
Accessors vs attributes
Posted Aug 6, 2025 10:54 UTC (Wed) by unya (guest, #102269)In reply to: Accessors vs attributes by DemiMarie
Parent article: Python performance myths and fairy tales
DEFSTRUCT is pretty old and explicitly tuned for speed in design. One of the big issues in developing something with is that that not only are the accessors very simple, they are also inlined by default (which is part of why they are very simple)