Search found 1 match
- Sat May 10, 2014 11:15 am
- Forum: Development of MicroPython
- Topic: Supporting zero-copy operations in MicroPython
- Replies: 8
- Views: 12683
Re: Supporting zero-copy operations in MicroPython
One idea would be for bytes and byte arrays to support transparent 'stiching' and sharing of buffer's slices. ex packet1 = b'first packet received from some interface' packet2 = b'next packet' packet = packet1 + packet2 # allocate a new bytes object, referencing the buffers of packet1 and packet2. N...