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.

Author vstinner
Recipients corona10, mark.dickinson, vstinner
Date 2020-01-30.13:49:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks, that's a nice optimization!

I'm surprised that creating a tuple of 2 items, get one item  directly into the C structure, and destroy the tuple is so slow (360 ns => 185 ns: 175 ns less). With my FASTCALL optimization on function calls, I recall that avoiding the creation a tuple of N items made function calls around 20 ns faster. Not 175 ns.
Date User Action Args
2020-01-30 13:49:21vstinnersetrecipients: + vstinner, mark.dickinson, corona10
2020-01-30 13:49:21vstinnersetmessageid: <>
2020-01-30 13:49:21vstinnerlinkissue39434 messages
2020-01-30 13:49:21vstinnercreate