Join GitHub today
cmd/compile: constant definitions should not affect inlining budget #21749
Currently constants defined within a function affect the inlining budget, even though they don't affect code generation. This arbitrarily prevents some functions from being inlined. Moving constants to a global is a workaround, but shouldn't be necessary.
go version devel +03c3bb5