Author vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-09-29.23:03:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Oh, by the way:

> $ ./python -m timeit  "b = bytearray(); a = b'x'"  "for i in range(10000): b += a"  "bytes(b)"

I'm not sure that it is what you expected: bytearray() is only initialized once ("setup" of timeit). You probably want to reinitialize at each loop.
Date User Action Args
2013-09-29 23:03:17vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-09-29 23:03:17vstinnersetmessageid: <>
2013-09-29 23:03:17vstinnerlinkissue19087 messages
2013-09-29 23:03:17vstinnercreate