I need to set every element of an array to 0, not empty, but the value zero. Is there a faster way of doing this than looping through each element individually?
How big is the array? How often does it need to be reset?
Only 25 so not the end of the world just I’m always looking for the most efficient way of doing things. ie utilizing one loop for many tasks instead of multiple loops
In this case, worry more about making the code easy to read and maintain.