Archived

This forum has been archived. Please start a new discussion on GitHub.

Python metadata directive for buffer objects

Hi all,

We use Python as the main programming language in our client-server database setup.

Because of non-linear performance-loss when large data sequences are converted to Python lists, we use the Python buffer protocol as a wrapper for our data, and present it to Ice unconverted. This, however, only works when marshalling the reply for a remote invocation.

It would be a nice 'to-have' if Ice for Python had a metadata directive for buffer objects, next to tuples and lists. That way, we could handle data sequences without having to convert to Pyhton lists, ever.. ;)

Regards,
Han