(original) (raw)
Hi Jeroen.
It's interesting, but I think we need reference implementation to compare
it's benefit with it's complexity.
Victor had tried to add \`tp\_fastcall\` slot, but he suspended his effort because
it's benefit is not enough for it's complexity.
I think if your idea can reduce complexity of current special cases without
any performance loss, it's nice.
On the other hand, if your idea increase complexity, I doubt it's benefit.
Increasing performance of all Python defined methods + most of builtin methods
affects total application performance because it covers most calls.
But calling callable object other than them are relatively rare. It may not affect
real world performance of most applications.
So, until I can compare it's complexity and benefits, I can say only "it's interesting."
Regards,
INADA Naoki <songofacandy@gmail.com>