Indeed, but both instances provide useful information and executed in different situations.
Do you think we should create a separate function for it?
My guess is that compiler will do the optimization anyway.