STINNER Victor <vstin...@python.org> added the comment:
A benchmark on calling C functions using ctypes sounds better than a benchmark calling Python functions. For Python functions, Python objects are converted to C types, and then C types are convered back to Python objects, the Python result is converted to a C type, and then the C type is converted back to a Python object for the final result... It would be nice to have a benchmark on different number of arguments. Like: 0, 1, 3, 5, 8, 10. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com