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 marco.buttu
Recipients docs@python, ezio.melotti, marco.buttu, r.david.murray, ronaldoussoren
Date 2013-07-10.15:21:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373469691.51.0.592655347063.issue18424@psf.upfronthosting.co.za>
In-reply-to
Content
By reading the Ronald's comment, I realized it is better to keep it simple, so I agree with him.

The "extremely inefficient" reason seems to be less important (Python 3.3):

$ python -m timeit -s "a=['a']*10000; b=['b']*10000; a+b"
100000000 loops, best of 3: 0.00831 usec per loop
$ python -m timeit -s "a=['a']*10000; b=['b']*10000; sum([a, b], [])"
100000000 loops, best of 3: 0.0087 usec per loop
History
Date User Action Args
2013-07-10 15:21:31marco.buttusetrecipients: + marco.buttu, ronaldoussoren, ezio.melotti, r.david.murray, docs@python
2013-07-10 15:21:31marco.buttusetmessageid: <1373469691.51.0.592655347063.issue18424@psf.upfronthosting.co.za>
2013-07-10 15:21:31marco.buttulinkissue18424 messages
2013-07-10 15:21:31marco.buttucreate