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 gvanrossum
Recipients gvanrossum, levkivskyi, serhiy.storchaka, xgdomingo
Date 2017-12-14.16:23:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJQ6uCOTzi8pk0fP9tGajxD=D=-uy5qQ1dzgFD7vzVOhQ@mail.gmail.com>
In-reply-to <1513254144.95.0.213398074469.issue32226@psf.upfronthosting.co.za>
Content
> This adds an overhead to every indexing.

I'm not doubting your results, but I'm curious how that happened. The extra
code in PyObject_GetItem is right before the point where it would otherwise
raise TypeError -- I presume you benchmark never reached that point. Could
it be that the compiler ends up rearranging the code in a way that is less
optimal for the instruction cache?
History
Date User Action Args
2017-12-14 16:23:21gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, levkivskyi, xgdomingo
2017-12-14 16:23:21gvanrossumlinkissue32226 messages
2017-12-14 16:23:21gvanrossumcreate