How fast is yes in Go?
Mat Evans
284

Thanks for this nice article. I’ve tinkered a little bit around and I’m wondering why the following approach is 10 times faster than your’s with os.Stdout.Write()

func main() {
 y := []byte(“y\n”)
 for {
 fmt.Print(y)
 }
}

Do you have any idea?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.