BoostC tiny Wiki

From OpenCircuits
Revision as of 08:42, 12 January 2009 by Russ hensel (talk | contribs) (New page: == == == Tips/Tricks/Gotchas == === Standard C Issues === == Optimization == As a general rule it has been observed that many programers spend too much time on optimization and ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tips/Tricks/Gotchas

Standard C Issues

Optimization

As a general rule it has been observed that many programers spend too much time on optimization and that often the compiler can do a better job than the programmer. Often readability of the code suffers for "optimiztions" that do not really optimize anything. That said, it is worthwhile to optimize the algorithim. C does not know the purpose of the code, the programmer should, the compiler can only optimize the code in doing what you said, not what you want.

Questions:

Optimizations that Seem Not to Work