Message5223

Author pjenvey
Recipients leosoto, pjenvey
Date 2009-10-07.02:59:53
SpamBayes Score 9.0628727e-10
Marked as misclassified No
Message-id <1254884394.37.0.0905546764681.issue1102@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-10-07 02:59:54pjenveysetmessageid: <1254884394.37.0.0905546764681.issue1102@psf.upfronthosting.co.za>
2009-10-07 02:59:54pjenveysetrecipients: + pjenvey, leosoto
2009-10-07 02:59:54pjenveylinkissue1102 messages
2009-10-07 02:59:53pjenveycreate