On 12 Sep 2018, at 09:16, Neil Schemenauer firstname.lastname@example.org wrote:
I was curious about how much slower CPython will be now that I'm using functions for Py_Type(), Py_INCREF(), etc. Some quick and dirty benchmark seems to show it is not so bad, maybe about 10% slower. Note that I updated the code to use C99 inline functions. They are neat.
A 10% slowdown is pretty bad, and worse than I expected. Have you tested the performance of your branch without tagged pointers but with inline functions?