[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] =?utf-8?q?why_not_replace_QByteArray_with_Python=27s_bytes?=
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2014-12-29 9:54:30
Message-ID: dfaa442031fbbdd8d8af4c3314f4548e () riverbankcomputing ! com
[Download RAW message or body]

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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic