3 ms·
...of the function? You could append to a slice, after setting up a defer to free everything in the slice. ...of the loop? Call a function.
by skybrian 5y ago
...of the function? You could append to a slice, after setting up a defer to free everything in the slice.
...of the loop? Call a function.
- meithecatte 5y ago...or just make defer run at the end of the scope.