Re: [Checkins] SVN: zope.interface/trunk/src/zope/interface/interface.py using `__setattr__` instead of `property` speeds up zope start-up time again, since getting the value for `__bases__` through `__dict__` adds up with almost 200.000 calls; of course, there's some overhead, since `__setattr__` gets called for the other attributes as well, but overall start-up is still faster
Stephan Richter <[email protected]>
| Newsgroups | gmane.comp.web.zope.zope3.cvs |
|---|---|
| Message-ID | <200801141016.45264.srichter__47642.8714035594$1200323840$gmane$org@cosmos.phy.tufts.edu> |
On Sunday 06 January 2008, Jim Fulton wrote: > This change breaks assigning to __class__, which the twisted folks > depend on. In general, Im suspicious of using __setattr__. What > impact does this change have on startup time? How did you measure it? I have not seen this checkin being reverted. Andreas, can you do this? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training