[New-bugs-announce] [issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

Mark Shannon report at bugs.python.org
Sun Jun 9 05:23:47 EDT 2019


New submission from Mark Shannon <mark at hotpy.org>:

PEP 590 allows us the short circuit the __new__, __init__ slow path for commonly created builtin types.
As an initial step, we can speed up calls to range, list and dict by about 30%.
See https://gist.github.com/markshannon/5cef3a74369391f6ef937d52cca9bfc8

----------
components: Interpreter Core
messages: 345077
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Use PEP 590 vectorcall to speed up calls to range(), list() and dict()
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37207>
_______________________________________


More information about the New-bugs-announce mailing list