[New-bugs-announce] [issue19801] Concatenating bytes is much slower than concatenating strings

Sworddragon report at bugs.python.org
Tue Nov 26 17:57:10 CET 2013


New submission from Sworddragon:

In the attachments is a testcase which does concatenate 100000 times a string and than 100000 times a bytes object. Here is my result:

sworddragon at ubuntu:~/tmp$ ./test.py
String: 0.03165316581726074
Bytes : 0.5805566310882568

----------
components: Benchmarks
files: test.py
messages: 204503
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Concatenating bytes is much slower than concatenating strings
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file32859/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19801>
_______________________________________


More information about the New-bugs-announce mailing list