Optimizing the Golang code and why Go is slower than Java? I am a python dev learning java and Go at the same time.