(original) (raw)

I didn't meant comparing tp\_fastcall and your PEP.

I just meant we need to compare complexity and benefit (performance),
and we need reference implementation for comparing.


On Mon, Jun 18, 2018 at 3:03 PM Jeroen Demeyer <J.Demeyer@ugent.be> wrote:
On 2018-06-18 03:34, INADA Naoki wrote:
\> Victor had tried to add \`tp\_fastcall\` slot, but he suspended his effort
\> because
\> it's benefit is not enough for it's complexity.
\> https://bugs.python.org/issue29259

I has a quick look at that patch and it's really orthogonal to what I'm
proposing. I'm proposing to use the slot \*instead\* of existing fastcall
optimizations. Victor's patch was about adding fastcall support to
classes that didn't support it before.


Jeroen.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/songofacandy%40gmail.com


--
INADA Naoki <songofacandy@gmail.com>