In some cases,
inline functions make a compute-bound application run faster.
In a broad sense, the idea behind
inline functions is to insert the code of a called function at the point where the function is called. If done carefully, this can improve the application's performance in exchange for increased compile time and possibly (but not always) an increase in the size of the generated binary executables. As usual, the devil is in the details. Read the fine print; it does make a difference.
It is useful to distinguish between “
inline,” a keyword qualifier that ...