[zeromq-dev] [PATCH] reduce memory allocations in yqueue

Martin Lucina mato at kotelna.sk
Wed Feb 3 17:14:36 CET 2010

joe.thornber at gmail.com said:
> This patch is submitted under the MIT license.
> It reduces memory allocation in yqueue by holding onto one unused
> chunk rather than handing it back to the global new/delete allocators.
>  For the common case where messages are being produced at a similar
> rate to consumption this is a big win.

Very nice!


More information about the zeromq-dev mailing list