"I was curious about would be where the method would be called 1000's of times and each time it would allocate/de-allocate a local"
Bear in mind that there is no 'allocation' to speak of if you are talking about a local integer variable - the stack pointer is simply advanced, creating space for the local variables to exist.
Bear in mind that there is no 'allocation' to speak of if you are talking about a local integer variable - the stack pointer is simply advanced, creating space for the local variables to exist.