strings.Compare为什么比==快?

wangliangdong · · 2099 次点击
``` Compare is included only for symmetry with package bytes. It is usually clearer and always faster to use the built-in string comparison operators ==, <, >, and so on. ``` 明明说的是比较操作符更快。。。
#4
更多评论
如何得到这个结论的? 有基准测试吗? 贴上来看看
#1
sdk注释写的啊老哥
#2