Re: [Mod-security-developers] [PATCH 2/5] Hide and optimize modsec_build_type structure.
Brought to you by:
victorhora,
zimmerletw
From: Breno S. <bre...@gm...> - 2011-04-26 21:14:48
|
Good, but I don't know if we need this optimizations here. Please let me know your main reasons for this Thanks Breno On Tue, Apr 26, 2011 at 3:53 PM, Diego Elio Pettenò <fla...@gm...>wrote: > > Rather than using a public structure, use an anonymous one. > > Also make the string a 12-bytes array of characters, rather than a pointer, > so that the content is inlined. 12 bytes make it possible for the single > structure to always be aligned at 16 bytes, which allows a faster access by > index. > --- > apache2/msc_release.c | 12 +++++++----- > apache2/msc_release.h | 6 ------ > 2 files changed, 7 insertions(+), 11 deletions(-) > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > mod-security-developers mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-security-developers > ModSecurity Services from Trustwave's SpiderLabs: > https://www.trustwave.com/spiderLabs.php > |