Closed guitargeek closed 8 months ago
No, I guess not.
Reading the Python sources as to how tp_vectorcall
is actually used, it's not a replacement for a vectorcall
data member of the instance. Instead, it serves the same purpose but for type objects. I.e. to turn the constructor into a vector call. It may still help performance a bit for those, but there are no memory savings here.
Oh, okay! Well, feel free to close this issue is you want! Or leave it here as a reminder there might be marginal performance gains possible here.
See https://github.com/wlav/CPyCppyy/pull/19#issuecomment-1989231119