Message381996
| Author | terry.reedy |
|---|---|
| Recipients | belopolsky, josh.r, meador.inge, pitrou, remi.lapeyre, scoder, serhiy.storchaka, terry.reedy, yselivanov |
| Date | 2020-11-28.12:29:53 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1606566593.28.0.420810640758.issue11107@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Batuhan Taskaya opened a duplicate issue #42454. Since it includes PR-23496, with some review, and at least as much discussion, I am closing this issue, contrary to normal policy. Worthwhile? Batuhan found about 100000 constant slices in 3200 PyPI packages, and 3-50% speedup. Rémi asked "Couldn't [slices] hash like a tuple (start, stop, step)?" Batuhad used the tuple analogy - hashability and hash depends on components. See PR for details. Josh: the PR defines TYPE_SLICE as ':'. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-11-28 12:29:53 | terry.reedy | set | recipients: + terry.reedy, belopolsky, pitrou, scoder, meador.inge, serhiy.storchaka, yselivanov, josh.r, remi.lapeyre |
| 2020-11-28 12:29:53 | terry.reedy | set | messageid: <1606566593.28.0.420810640758.issue11107@roundup.psfhosted.org> |
| 2020-11-28 12:29:53 | terry.reedy | link | issue11107 messages |
| 2020-11-28 12:29:53 | terry.reedy | create | |