Join GitHub today
cmd/compile: expected to inline a closure with a superficially low inline budget #27703
Using go1.11 linux/amd64.
I've got this function that logs debugging information:
I was expecting the compiler to inline
Here's a complete test:
Hello @jech, thank you filing this bug!
So I could be mistaken, but believe that it isn't inlined because
Kindly paging @josharian @randall77 @dr2chase to ask for ideas of we could do here. Could the inliner make a compromise here for escape analysis? That is, despite
We don't inline
I'm not sure why the