Posted in Go语言基础和工具链Golang语法冷知识TOP10:_ = struct{}{}为何不分配内存?for range string的rune解码隐藏开销? 第一章:Golang语法冷知识导 … Golang语法冷知识TOP10:_ = struct{}{}为何不分配内存?for range string的rune解码隐藏开销?Read more by 写代码的阿强|2026年2月20日|Go内存分配器, struct{}空结构体, range空map, if/for/switch注入, sharedStrings滥用, Golang语法冷知识, rune解码开销