Posted in Go语言基础和工具链for range string逐rune遍历为何比for i := 0; i < len(s); i++慢11倍?Unicode解析成本全量测算 第一章:for range st … for range string逐rune遍历为何比for i := 0; i < len(s); i++慢11倍?Unicode解析成本全量测算Read more by Go实战派|2026年3月30日|Go语言字符串遍历, range空map, if/for/switch注入, sharedStrings滥用, rune遍历性能, Unicode解析开销, len(s)索引遍历