[PATCH 3/3 v3] vfs_glusterfs: Samba VFS module for glusterfs
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri May 24 00:40:43 MDT 2013
On Thu, May 23, 2013 at 12:37:20PM -0400, Simo wrote:
> There is no convention in samba for making code slower.
> (higher number of memory allocations in a hot code path do just that).
>
> Andrew just described his own preference. I used array preallocation
> before where useful, I believe in samba code as well.
See for example ADD_TO_LARGE_ARRAY. Admittedly a very bad
interface, but we've used that for quite a while already.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list