Go does not optimize constant variables in the same way as C compilers do. This may be due to the presence of debuggers and the desire to speed up compilation.
Sort: