Oliver Smith wrote:
> Martin Sustrik wrote:
>> Messages below 30 bytes of
>> length are called VSMs (very small messages) in 0MQ and are passed
>> *without* any extra memory allocations.
> Actually, this is a fairly important/useful piece of information. Can I 
> suggest that it be added to the main zmq.html of the manual under the 
> Messages heading?

Hm. It's kind of an implementation detail. Our tests have shown that for 
messages below 30 bytes copying them is less expensive than 
allocating/deallocating a chunk for the data. As everything stays opaque 
for the users, I am not sure why they would be interested in that kind 
of detail.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to