Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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