fmstephe / switch-map-compare

A comparison of switch vs map[string]string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To use these benchmarks you have to generate code for each run.

from this directory you should

	cd generate/
	go run main.go -s 10 > ../main.go
	cd ../
	go test -bench=.*

About

A comparison of switch vs map[string]string


Languages

Language:Go 100.0%