Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd/compile: for-loops cannot be inlined #14768
Comments
bradfitz
added
the
Performance
label
Mar 11, 2016
bradfitz
added this to the Unplanned milestone
Mar 11, 2016
dr2chase
self-assigned this
Mar 13, 2016
|
For reference, the easy part (inlining
|
|
Thanks for doing this; it was not exactly the results I was hoping for ;) Are you aware of which loops in HTTPClientServer were inlined? I'm curious about the 5% increase in time. |
|
grepping for "http" in the
No idea which one of these is the culprit for the slowdown. |
ALTree
referenced this issue
Aug 17, 2017
Closed
cmd/compile: allow inlining simple functions that use for. #21490
mvdan
changed the title from
cmd/compile: for-loops cant be inlined
to
cmd/compile: for-loops cannot be inlined
Aug 17, 2017
OneOfOne
referenced this issue
Aug 19, 2017
Closed
Proposal: cmd/compile: add a go:inline directive #21536
added a commit
to wallyqs/gnatsd
that referenced
this issue
Sep 8, 2017
added a commit
to wallyqs/gnatsd
that referenced
this issue
Sep 8, 2017
This was referenced Nov 8, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dsnet commentedMar 11, 2016
Using
go devel +ed4a27aCurrently, functions with for-loops are not inline-able, would be nice if they did. Not long ago, I used a non-idiomatic goto in order to cheat around the inliner.
@dr2chase