Pavel, In this Pull Request
https://github.com/drj11/pypng/pull/25/files you mention that
bytearray is faster than array.
Did you measure that in Cython? Or with the plain Python implementation?
And if you have timings, however quick-and-dirty, can we please see them?
Cheers,
drj