Buffer allocation

Mdecandia mdecandia at email.it
Fri Jul 6 14:23:31 UTC 2007


Hi,
I've seen that memcached allocates a new buffer whet a mc_get() call is
done. 
This means that on each mc_get() call a new malloc is done, right?
There is someway to get directly the pointer to the buffer in which
memcached as allocated the item?
The malloc() and free() calls on each called item reduces the performance of
the application (and memcached too) or not?
Thanks,

Michele


  
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 In REGALO un GIOCO! Scegli GPBikes 3D,Bubble Boom, Rock City Empire
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6732&d=20070706

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070706/589571be/attachment.htm


More information about the memcached mailing list