It has only to do with the act of correct observation, and by I mean a physical contact with all sorts of objects through all the senses

Golang 一段代码性能的探究

golang concurrence performance

我们来看下面这样的一段代码 var arr []int64 func IncrArrItem(s, e int) { for i = 0; i < 200000000; i++ { arr[s]++ arr[e]++ } } Shell 这个代码的作用是对的数组中的第 s 和 e 位