Posts

Showing posts from August, 2020

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.