Comment by readthenotes1 4 months ago I wonder how many nanoseconds it'll take for the next maintainer to obliterate the savings? 2 comments readthenotes1 Reply jasonthorsness 4 months ago For low-level small things tests can help. Go has good benchmarking built-in and you can use a tool that passes/fails based on statistically-significant regressions, benchstat (https://pkg.go.dev/golang.org/x/perf/cmd/benchstat). hu3 4 months ago That's just one prompt away!
jasonthorsness 4 months ago For low-level small things tests can help. Go has good benchmarking built-in and you can use a tool that passes/fails based on statistically-significant regressions, benchstat (https://pkg.go.dev/golang.org/x/perf/cmd/benchstat).
For low-level small things tests can help. Go has good benchmarking built-in and you can use a tool that passes/fails based on statistically-significant regressions, benchstat (https://pkg.go.dev/golang.org/x/perf/cmd/benchstat).
That's just one prompt away!