This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Specialize list[slice]
Type: Stage: resolved
Components: Versions: Python 3.11
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: kj
Priority: normal Keywords: patch

Created on 2022-03-12 04:07 by kj, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31870 closed kj, 2022-03-14 13:17
Messages (2)
msg414971 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-03-12 04:07
According to https://github.com/faster-cpython/ideas/blob/main/stats.md#binary_subscr
it's the second most common failed specialization.

array.array[int] is quite hard to specialize, considering that array.array deals with 13 different item types based on its initial type argument. IMO specializing for it is only useful to bump benchmark numbers, but we won't see any real effects in real-world benchmarks.
msg415144 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-03-14 14:41
Closed for now. See https://github.com/python/cpython/pull/31870#issuecomment-1066884537 for an explanation.
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91147
2022-03-14 14:41:51kjsetstatus: open -> closed
resolution: rejected
messages: + msg415144

stage: patch review -> resolved
2022-03-14 13:17:10kjsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29969
2022-03-12 04:07:28kjcreate