New submission from Mark Shannon <m...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37207>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to