FWIW, I also don't see any appreciable difference: goos: windows goarch: amd64 BenchmarkStateSet1-4 1368303 872 ns/op BenchmarkStateSet2-4 1379320 887 ns/op BenchmarkStateSet3-4 1343781 865 ns/op PASS ok command-line-arguments 7.446s
On Monday, February 24, 2020 at 5:55:49 PM UTC-5, Jim Robinson wrote: > > That's interesting! > > My numbers earlier were from an AMD chip (2990WX) on Linux 5.3.11. > > On an older Intel chip (i7-4960HQ) on macOS 10.15.3 I still see small a > difference but it's much smaller. > > $ go test -bench . > goos: darwin > goarch: amd64 > BenchmarkStateSet1-8 2737468 441 ns/op > BenchmarkStateSet2-8 3514694 345 ns/op > BenchmarkStateSet3-8 3351747 356 ns/op > PASS > ok _/Users/jimr/tmp/odd 5.253s > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/41bc3f4e-5b92-4735-90fe-2100c8f6bb95%40googlegroups.com.