go
go copied to clipboard
Replaced slices with arrays where appropriate
Replaced slices with arrays at places in code that matched all 3 criteria:
- length is fixed (doesn't need to change throughout the lifecycle of the program)
- length is known at compile time
- isn't passed to another method as a parameter
This has been open for a couple of months now. Aren't maintainers looking at pull requests? 🤔