The struct sample keeps a 32-bit hole at the beggining after the flags,
and ends up with a 32-bit member (opt) that imposes extra padding.
Let's just move opt into the hole and reduce it from 152 to 144 bytes.
That counts more than it seems because a lot of expression processing
creates copies of samples or memset() them (e.g. in every pattern match
in ACLs).
*/
struct sample {
unsigned int flags; /* SMP_F_* */
+ unsigned int opt; /* fetch options (SMP_OPT_*) */
struct sample_data data;
union smp_ctx ctx;
struct proxy *px;
struct session *sess;
struct stream *strm; /* WARNING! MAY BE NULL! (eg: tcp-request connection) */
- unsigned int opt; /* fetch options (SMP_OPT_*) */
};
/* Descriptor for a sample conversion */