Message5223
r6844 / r6845 totally avoid the __getattribute__ lookup/descriptor call
by fast pathing if the type uses object.__getattribute__. This gives us
a pretty good speedup, we beat CPython on richards now, @ about .9
whereas r6843 is about 1.2/3x slower
CPython does an optimization here where it looks up the descriptor and
fast paths if it's equiv to object.__getattribute__. Our's is based off
PyPy's which is more agressive, we keeps a flag on the type to determine
whether we should fast path, so that faster path also avoids the
descriptor lookup |
|
Date |
User |
Action |
Args |
2009-10-07 02:59:54 | pjenvey | set | messageid: <1254884394.37.0.0905546764681.issue1102@psf.upfronthosting.co.za> |
2009-10-07 02:59:54 | pjenvey | set | recipients:
+ pjenvey, leosoto |
2009-10-07 02:59:54 | pjenvey | link | issue1102 messages |
2009-10-07 02:59:53 | pjenvey | create | |
|