3 ms·
...I don't see it. Compile time optimization is a thing you can do for your production build only. Unless Go's design implicitely inhibits certain types of opt
by XorNot 11y ago
...I don't see it.
Compile time optimization is a thing you can do for your production build only. Unless Go's design implicitely inhibits certain types of optimizations, but that would seem odd given how opinionated it is. What you do in Go, and what you mean, are much clearer then in most other languages.
- kibwen 11y agoThe go tool has no distinction between development builds and production builds; every build is a production build. This itself is a manifestation of Go's opinionated philosophy. https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies https://golang.org/cmd/go/#hdr-Compile_packages_and_dependen...