I don&#x27;t care about micro benchmarks ... but if you&#x27;re gonna do one, make sure your code is decent.<p>By replacing the Go slice declarations (var x[]int64) with (x := make([]int64, 0, 1000000)) you&#x27;ll get an algorithm that in my iMac runs much faster:<p>- your version: 4.93s user 0.28s system 165% cpu 3.151 total<p>- my version: 1.93s user 0.04s system 168% cpu 1.165 total<p>EDIT: I&#x27;m sure this happens with all the examples, and that&#x27;s exactly my point. What is this exactly microbenchmarking? Bad programs?