Performance of function slice parameter vs global variable?
Judging from the name of your function, performance can’t be that critical to even consider moving parameters to global variables just to save time/space required to pass them as parameters (IO operations like checking files are much-much slower than calling functions and passing values to them). Slices in Go are just small descriptors, something like … Read more