Message189993
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. ;-) |
|
Date |
User |
Action |
Args |
2013-05-25 19:16:27 | pje | set | recipients:
+ pje, ncoghlan, pitrou, daniel.urban, lukasz.langa, python-dev |
2013-05-25 19:16:27 | pje | link | issue16832 messages |
2013-05-25 19:16:27 | pje | create | |
|