-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Does GO inline function calls for things like,
'setHalfCarryFlag' functions?
I wonder if an optimization could fruit from having a leaf function for each.]
Relevant:
https://lemire.me/blog/2017/09/05/go-does-not-inline-functions-when-it-should/
https://www.reddit.com/r/golang/comments/6ypwui/go_does_not_inline_functions_when_it_should/
https://groups.google.com/forum/#!topic/golang-nuts/V_xI29FGDZM
As per the last one it might be obvious due to function branching for a one-switch-all format for a function to be used. You can easily double your speed as lemire.me blog said by manually inlining some things that aren't.
Metadata
Metadata
Assignees
Labels
No labels