We all knew that the fewer the instructions in a program, the faster the program executes! When any program is executed, the kind of data structures they utilize and the kind of algorithm utilized decides the fate of fastness and memory space used by the program. An efficient programmer is the one who keeps these two things in mind while programming.
It happened to me many times, when ever I go to my older code I keep getting new ideas and happen to remove lot of obsolete statements or optimize the program instructions to achieve the same end result. This optimization helped me many a times to improve the overall performance of the program. On the other hand, it gets really difficult after a limit of extent to improve an individual program. This limit is some times called as Information Theoretic Limit.
According to it, given the approach of…
View original post 68 more words