You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
mdempsky
changed the title
Constant definitions should not affect inlining budget
cmd/compile: constant definitions should not affect inlining budget
Sep 3, 2017
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
The text was updated successfully, but these errors were encountered: