[zeromq-dev] Very Small Messages/Manual
sustrik at 250bpm.com
Sat Jul 24 16:57:52 CEST 2010
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
More information about the zeromq-dev