[9:46 AM] Howard Wu: Try add "GOSSAFUNC=" env var as prefix when you do go build. You can see how go compiler optimises your code.
[9:47 AM] Howard Wu: For example "GOSSAFUNC=main go build" ("main" is the function you wanna know how is being optimised). Then it generates some reports in the console and "ssa.html". You can open that html to see the optimisation processes.
https://github.com/uber/go-torch
[9:46 AM] Howard Wu: Try add "GOSSAFUNC=" env var as prefix when you do go build. You can see how go compiler optimises your code. [9:47 AM] Howard Wu: For example "GOSSAFUNC=main go build" ("main" is the function you wanna know how is being optimised). Then it generates some reports in the console and "ssa.html". You can open that html to see the optimisation processes.