New submission from Kumar Aditya <[email protected]>:
Use FASTCALL for __import__ builtin.
Benchmark:
--------------------------------------------------------------------------
import pyperf
runner = pyperf.Runner()
runner.timeit(name="bench __import__",
stmt="__import__('asyncio')"
------------------------------------------------------------------------
Result:
Mean +- std dev: [base] 191 ns +- 16 ns -> [patch] 112 ns +- 11 ns: 1.71x faster
----------
components: Interpreter Core
messages: 414729
nosy: Dennis Sweeney, Mark.Shannon, kumaraditya303
priority: normal
pull_requests: 29865
severity: normal
status: open
title: use FASTCALL for __import__ builtin
type: performance
versions: Python 3.11
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46953>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com