harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Garner" <robin.gar...@anu.edu.au>
Subject Re: opinions on structure packing in C?
Date Wed, 05 Oct 2005 13:04:40 GMT

> So how do people deal with this these days?  I know fashions change,
> and I haven't done C in anger for > 6 years...  (I still have the
> shakes when looking at it - I'm past the screaming stage...)

"Premature optimization is the root of all evil."

If struct packing produces a measurable speedup, do it; if not, don't. 
But actually take the time to measure it.


View raw message