{"title":" strings.EqualFold \u306f\u3069\u306e\u7a0b\u5ea6\u306e\u901f\u5ea6\u304b","published":"2019-08-13 13:28:04","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2019%2F08%2F13%2F132804\" title=\" strings.EqualFold \u306f\u3069\u306e\u7a0b\u5ea6\u306e\u901f\u5ea6\u304b - \u6a19\u6e96\u611a\u75f4\u51fa\u529b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Big Sky :: Go \u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u7121\u8996\u306e\u6587\u5b57\u5217\u6bd4\u8f03\u30d9\u30f3\u30c1\u30de\u30fc\u30af strings.EqualFold \u306b\u3064\u3044\u3066\u8a00\u53ca\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u6e2c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u8ffd\u52a0\u884c\uff1a func isDevNull4(name string) bool { return strings.EqualFold(name,\"nul\") } func BenchmarkS4(b *testing.B) { test(b, isDevNull4) } \u7d50\u679c\uff1a $ go test -bench . goos: windows goarch: amd64 BenchmarkS1-4 50000000 29.5 ns/op Ben\u2026","categories":["Go"],"url":"https://zetamatta.hatenablog.com/entry/2019/08/13/132804","provider_name":"Hatena Blog","version":"1.0","image_url":null,"blog_title":"\u6a19\u6e96\u611a\u75f4\u51fa\u529b","type":"rich","height":"190","blog_url":"https://zetamatta.hatenablog.com/","author_name":"zetamatta","author_url":"https://blog.hatena.ne.jp/zetamatta/","width":"100%","provider_url":"https://hatena.blog"}