Posted in

Go benchmark实测:[]string{“a”,”b”} vs map[byte]string{“a”: “x”} vs [2]struct{k byte; v string} —— 常量嵌套性能排行榜TOP3

第一章:Go常量嵌套数据结构的性 … Go benchmark实测:[]string{“a”,”b”} vs map[byte]string{“a”: “x”} vs [2]struct{k byte; v string} —— 常量嵌套性能排行榜TOP3Read more