What is Code Bloat?

Code bloat refers to the unnecessarily generated code which effects the performance of the program. It makes program run slow and uses unncessary resources.

Example for code bloat is using in-line functions for long peice of code.

Some naive compilers of C++ will make different function of each type if a template is defined, which causes so much of unnecessary code which is never executed. This un used code is called as dead code.

Comments

Popular posts from this blog

GCC Extenstion

What is Code Bloat?

Method Chaining.