Pointers are a way to save much memory has possible
Since this are values you need to use a lot of times, and you can’t just recalculate this bunch of data, and sometimes are collections of data, so, better know where that thing lives
Pointers are a way to save much memory has possible
Since this are values you need to use a lot of times, and you can’t just recalculate this bunch of data, and sometimes are collections of data, so, better know where that thing lives
I wouldn’t say you can’t recalculate, but got the point. In my understanding it is more about efficiency and performance.