Author serhiy.storchaka
Recipients rhettinger, serhiy.storchaka, vstinner
Date 2017-03-07.05:39:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488865198.27.0.103645359021.issue29737@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with your comments Raymond, but let me to expose my reasons.

An idea of optimizing empty tuple concatenating is inspired by partial(). It concatenates two tuples of arguments and it is common when one of tuple is empty. Current C implementation makes special case for this (and does this suboptimal). With optimized empty tuple concatenating it could be simpler and more efficient. Even when C implementation of partial() will not use this feature (see issue29735), I hope it can help in Python implementation of partial() and other partial-like functions.
History
Date User Action Args
2017-03-07 05:39:58serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner
2017-03-07 05:39:58serhiy.storchakasetmessageid: <1488865198.27.0.103645359021.issue29737@psf.upfronthosting.co.za>
2017-03-07 05:39:58serhiy.storchakalinkissue29737 messages
2017-03-07 05:39:57serhiy.storchakacreate