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.

Title: Micro-optimizations to PySequence_Tuple()
Type: performance Stage: resolved
Components: Interpreter Core Versions: Python 3.9
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: Nosy List: Marco Sulla, eric.smith, iritkatriel, serhiy.storchaka
Priority: normal Keywords:

Created on 2020-03-11 21:44 by Marco Sulla, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18703 closed Marco Sulla, 2020-03-11 21:44
Messages (4)
msg363974 - (view) Author: Marco Sulla (Marco Sulla) * Date: 2020-03-11 21:44
This is a little PR with some micro-optimizations to the PySequence_Tuple() function. Mainly, it simply add a support variable new_n_tmp_1 instead of reassigning newn multiple times.
msg363975 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-03-11 21:47
Do you have any benchmarks?
msg398890 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-08-04 11:27
Marco, are you planning to complete this work, and in particular show the benefit with benchmarks?

Otherwise, if this project is abandoned I will close the issue and the PR.
msg398996 - (view) Author: Marco Sulla (Marco Sulla) * Date: 2021-08-05 11:52
Close it, I have no time now :-(
Date User Action Args
2022-04-11 14:59:28adminsetgithub: 84121
2021-08-05 11:52:47Marco Sullasetstatus: pending -> closed
resolution: later
messages: + msg398996

stage: resolved
2021-08-04 11:27:51iritkatrielsetstatus: open -> pending
nosy: + iritkatriel
messages: + msg398890

2020-03-12 00:15:51eric.smithsetnosy: + eric.smith
2020-03-11 21:47:09serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg363975
2020-03-11 21:44:12Marco Sullacreate