On Oct 5, 2005, at 9:04 AM, Robin Garner wrote:



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.


I wasn't clear, I guess. I'm not optimizing. I'm looking at code that already does this through global pack-struct flag for the compiler, and I needed to get away from that w/o doing a rewrite.

geir


--
Geir Magnusson Jr                                  +1-203-665-6437
[EMAIL PROTECTED]


Reply via email to