cmd/compile: expected to inline a closure with a superficially low inline budget #27703
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
Using go1.11 linux/amd64.
I've got this function that logs debugging information:
I was expecting the compiler to inline
debugf
and avoid consing the varargs whenl
is nil, but apparently that's not the case:Here's a complete test:
The text was updated successfully, but these errors were encountered: