This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ntoronto
Recipients arigo, bioinformed, nnorwitz, ntoronto, peaker, rhettinger
Date 2007-12-07.03:53:54
SpamBayes Score 0.331209
Marked as misclassified No
Message-id <>
I've attached the microbenchmarks I was using for my own version of
attribute caching. For list, tuple, dict, and a deep hierarchy, it tests
accessing type attributes (cls.__class__), class attributes
(cls.__init__), class attributes via instance (inst.__class__), and
instance attributes (inst.__init__), using LOAD_ATTR and hasattr. It
also tests hasattr with missing attributes.
File name Uploaded ntoronto, 2007-12-07.03:53:54
Date User Action Args
2007-12-07 03:53:55ntorontosetspambayes_score: 0.331209 -> 0.331209
recipients: + ntoronto, nnorwitz, arigo, rhettinger, peaker, bioinformed
2007-12-07 03:53:54ntorontosetspambayes_score: 0.331209 -> 0.331209
messageid: <>
2007-12-07 03:53:54ntorontolinkissue1700288 messages
2007-12-07 03:53:54ntorontocreate