Speeding up the code

Please, can anyone give some ideas on how speed up a c-code?
1
2
take a look at this link
http://www.abarnett.demon.co.uk/tutorial.html#INTEGERS 
closed account (z05DSL3A)
I like a site on optimization that starts with a quote along the lines off:
1
2
3
4
"More computing sins are committed in the name of efficiency 
(without necessarily achieving it) than for any other single reason - 
including blind stupidity."
                                                                                       - W.A. Wulf


http://www.tantalon.com/pete/cppopt/main.htm uses that exact quote.

but generaly google "C Optimization Strategies" or "C Optimization Techniques " and you should find a welth of information.
Last edited on
Topic archived. No new replies allowed.