I read here: http://zeromq.github.io/pyzmq/serialization.html PyZMQ 
being able to pass an object without copying it.
I guess this holds only for the serialised copy of the data..? In 
theory the object can be passed as a reference thus preventing a copy.

Suppose I have an image as a python object which is produced in a 
thread. Now an other thread wants to display it. The only transport 
which would be able to do this is 'inproc'. However the send method of 
PyZMQ needs an object supporting the Buffer interface (I guess to copy 
the data). How would I be able to pass the image to the other thread 
without copying it?

Rg,

Arnaud
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to