[Python-Dev] Re: Using vectorcall for tp_new and tp_init

2019-06-09 Thread Mark Shannon
On 07/06/2019 11:41 am, Jeroen Demeyer wrote: Hello, I'm starting this thread to brainstorm for using vectorcall to speed up creating instances of Python classes. Currently the following happens when creating an instance of a Python class X using X(.) and assuming that __new__ and __i

[Python-Dev] Re: Using vectorcall for tp_new and tp_init

2019-06-08 Thread Jeroen Demeyer
On 2019-06-07 20:42, Terry Reedy wrote: On 6/7/2019 6:41 AM, Jeroen Demeyer wrote: Hello, I'm starting this thread to brainstorm for using vectorcall to speed up creating instances of Python classes. Currently the following happens when creating an instance of a Python class X using X(.) a

[Python-Dev] Re: Using vectorcall for tp_new and tp_init

2019-06-07 Thread Terry Reedy
On 6/7/2019 6:41 AM, Jeroen Demeyer wrote: Hello, I'm starting this thread to brainstorm for using vectorcall to speed up creating instances of Python classes. Currently the following happens when creating an instance of a Python class X using X(.) and assuming that __new__ and __init__