facebook/tornado — comment on commit 0b31d8de4c99bad2ba27f97d15dde7adb4e86812
File:  line 0
By MrJoes:

This commit essentialy decreased performance of the websockets by, at least, 20%:

>>> timeit.timeit('bytearray("1234567890")')
0.20886757960613522

>>> timeit.timeit('array.array("B","1234567890")', 'import array')
0.2745079673895674

I'm working on some optimizations and will provide alternative way to support python 2.5 without degrading performance on 2.6+