Fundamental Idea locality of reference in compiler optimization
Locality of reference also termed as principle of locality is the common idea in area of compiler optimization. In a nutshell, It means that program execution are faster when they are written in such a way that memory access is made within the small range of previous memory access. This process is done because …