shaxbee.github.io

Developer

Blog About

Python Binary Data Part 2 - Struct Unpacking

Written on November 1, 2014

While writing code for handling fixed size structs in flatbuffers I had to make a choice between defereed access (reading field on demand) or reading all fields at once.

Read More

Python Binary Data Part 1 - Performance of prepending to bytearray

Written on October 31, 2014

I’ve noticed that prepending to bytearray is ~50 times slower than preallocating space and overwriting data directly.

Read More