Apply vectorcall for more places by youknowone · Pull Request #7336 · RustPython/RustPython
marked this pull request as ready for review
…paths Remove has_vectorcall checks from execute_call_vectorcall and execute_call_kw_vectorcall. The invoke_vectorcall fallback now uses from_vectorcall_owned to move args instead of cloning.
This was referenced
youknowone added a commit to youknowone/RustPython that referenced this pull request
* Add PyType vectorcall and use vectorcall in all specialized call fallbacks * Add vectorcall slot for PyMethodDescriptor and PyWrapper * Add FuncArgs::from_vectorcall_owned and simplify vectorcall fallback paths Remove has_vectorcall checks from execute_call_vectorcall and execute_call_kw_vectorcall. The invoke_vectorcall fallback now uses from_vectorcall_owned to move args instead of cloning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters