Antoine Pitrou added the comment: Here is a patch yielding a decent speedup (~ 40%) on PyArg_ParseTuple itself. More generally though, this would be improved by precompiling some of the information (like Argument Clinic does, perhaps).
(note: PyArg_ParseTupleAndKeywords is a completely separate implementation...) ---------- keywords: +patch Added file: http://bugs.python.org/file29021/getargs_freelist.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17170> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com