On Mon, 29 Jun 2020 23:31:31 -0700
Emily Bowman <silverback...@gmail.com> wrote:
> On Mon, Jun 29, 2020 at 7:41 PM Raymond Hettinger <
> raymond.hettin...@gmail.com> wrote:  
> > Perhaps you don't want to believe the results, but the timings are
> > careful, stable, repeatable, and backed-up by a disassembly that shows the
> > exact cause.  The builds used for the timings were the production macOS
> > builds as distributed on python.org.
> >  
> This points more to specific builds needing to be fixed, if their build
> options result in significantly un-optimized code on the same cpu
> architecture.

I agree in this specific instance _PyType_GetFlags() should definitely
get inlined.  The whole point of the type check flags is to make
instance checks for built-in types such as long or tuple faster than by
the regular algorithm.



Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
Message archived at 
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to