[zeromq-dev] Zero-copy message API

Martin Sustrik sustrik at 250bpm.com
Mon Apr 4 18:29:23 CEST 2011


On 04/04/2011 09:31 AM, Ian Barber wrote:

>
> For my 2p, most of the people I see doing 0MQ with C/C++ are using
> init_data for exactly this, with some simple slab type memory scheme
> going on, and seeing notable speed improvements, so I think the practice
> is pretty widespread.

What about calling it zmq_msg_attach()?

It is kind of explicit about the fact that it attaches the message to 
existing buffer.

Martin



More information about the zeromq-dev mailing list