Chapter 16. Speed

Easy optimisations: Low hanging fruit

C is well know as the fastest high-level language available

16.1. About Optimising

There are two times you will optimise your code: while you're writing it and after it's performance disappoints you.

As a rule, it is said that ninety percent of your an applications running time is taken up by ten percent of it's code. There is little point in optimising a function that is rarely called.