[zeromq-dev] New Python bindings

Vitaly Mayatskikh v.mayatskih at gmail.com
Sun Feb 14 22:33:22 CET 2010


At Fri, 12 Feb 2010 15:35:40 -0800, Brian Granger wrote:

> * Improved performance.  For small msg sizes, the performance is the
> same as the previous Python bindings, but for larger message sizes,
> the latency and throughput
> benchmarks are better.  The main improvement is that on sends I am not
> doing a memcpy
> to copy the Python string to the msg struct.  The msg struct simply
> uses the same buffer
> that the Python str object is using.

What if string object is destroyed before msg was sent? I ended up
with copying objects content into zmq msg buffer in Common Lisp
bindings.
-- 
wbr, Vitaly



More information about the zeromq-dev mailing list