Substitution of values for names (whose values are constants) is done in
Constant folding
: Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime.
an answer should be local optimization
let's take an example:-
64.3k questions
77.9k answers
243k comments
79.6k users