bytearray is not faster in CPython. See comment on line 1780.