Author pje
Recipients daniel.urban, lukasz.langa, ncoghlan, pitrou, pje, python-dev
Date 2013-05-25.19:16:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CALeMXf7K_qgJhoWFDXwaDdzaUs2VNw7NPAh2aJwZodkqzjd68Q@mail.gmail.com>
In-reply-to <CALeMXf53qhohJJX3kSagXwBoab30Aji5gef6aZ1VWQHd_Ea6Lw@mail.gmail.com>
Content
All that being said, I took out some time to get actual numbers, and
found my original guesstimate of overhead was incorrect; it's only 3
times slower, not "orders of magnitude".  ;-)

And even on a relatively old machine, that 3 times slower amounts to
an extra tenth of a microsecond, at least in a hot loop with timeit.
So I'll stop being a pain about this now, even though I still think
getters are a stinky Java code smell and don't belong in Python
anyways.  ;-)
History
Date User Action Args
2013-05-25 19:16:27pjesetrecipients: + pje, ncoghlan, pitrou, daniel.urban, lukasz.langa, python-dev
2013-05-25 19:16:27pjelinkissue16832 messages
2013-05-25 19:16:27pjecreate