golang: slice contains benchmark

> go test -bench=. -benchmem .
goos: darwin
goarch: arm64
pkg: s2
BenchmarkContains-10                 	292790610	         4.109 ns/op	       0 B/op	       0 allocs/op
BenchmarkContainsForLoop-10          	244389747	         4.917 ns/op	       0 B/op	       0 allocs/op
BenchmarkContainsMapStrings-10       	31198578	        38.23 ns/op	       0 B/op	       0 allocs/op
BenchmarkContainsSearchStrings-10    	172281662	         6.958 ns/op	       0 B/op	       0 allocs/op
BenchmarkSliceContains-10            	292648843	         4.092 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	s2	8.164s
Publikováno v Go