[New-bugs-announce] [issue46991] Specialize list[slice]

Ken Jin report at bugs.python.org
Fri Mar 11 23:07:28 EST 2022


New submission from Ken Jin <kenjin4096 at gmail.com>:

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.

----------
messages: 414971
nosy: kj
priority: normal
severity: normal
status: open
title: Specialize list[slice]
versions: Python 3.11

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


More information about the New-bugs-announce mailing list