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. Regards Antoine. _______________________________________________ Python-Dev mailing list -- email@example.com To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://firstname.lastname@example.org/message/OQ33UEN7BPWEZ7P5IY7JB6N5HZ4OWHFP/ Code of Conduct: http://python.org/psf/codeofconduct/