[PyQt] why not replace QByteArray with Python's bytes ?
Phil Thompson
phil at riverbankcomputing.com
Mon Dec 29 09:54:30 GMT 2014
On 29/12/2014 9:14 am, iMath wrote:
> why not replace QByteArray with Python's bytes ?
I assume you mean bytearray not bytes (which isn't mutable).
They can be very large which would mean lots of memory copies. That's an
entirely subjective opinion, nobody has done any measurements.
Besides as QByteArray implements the buffer and sequence protocols they
are prety interchangeable anyway.
Phil
More information about the PyQt
mailing list