|
|
Subscribe / Log in / New account

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)


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds