Home Comments

Python metadata directive for buffer objects

HanHan Member Han GenuitOrganization: FOM RijnhuizenProject: Database for Magnum PSI (plasma research).
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.. ;)

Sign In or Register to comment.