[Mod-security-developers] [PATCH 2/5] Hide and optimize modsec_build_type structure.
Brought to you by:
victorhora,
zimmerletw
From: Diego E. P. <fla...@gm...> - 2011-04-26 20:53:54
|
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(-) |