[issue46991] Specialize list[slice]

2022-03-14 Thread Ken Jin


Ken Jin  added the comment:

Closed for now. See 
https://github.com/python/cpython/pull/31870#issuecomment-1066884537 for an 
explanation.

--
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46991] Specialize list[slice]

2022-03-14 Thread Ken Jin


Change by Ken Jin :


--
keywords: +patch
pull_requests: +29969
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/31870

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46991] Specialize list[slice]

2022-03-11 Thread Ken Jin


New submission from Ken Jin :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com