Posted in Go语言基础和工具链Go 1.21+中map[string]struct字段修改行为变更预警!runtime对small struct的3处优化导致兼容性断裂 第一章:Go 1.21+中map … Go 1.21+中map[string]struct字段修改行为变更预警!runtime对small struct的3处优化导致兼容性断裂Read more by Go语言笔记|2026年1月28日|1.21.4新特性, Runtime优化, smallint, Go动态加载, 兼容性断裂, make(map[string]struct{}), Go语言struct嵌套map
Posted in Go语言基础和工具链Go map从“哈希表”到“混合索引结构”:1.24中small map(<8 entries)自动切换为array-backed实现(源码级验证) 第一章:Go 1.24 map设 … Go map从“哈希表”到“混合索引结构”:1.24中small map(<8 entries)自动切换为array-backed实现(源码级验证)Read more by Go语言狂热者|2026年1月27日|Map线程安全, smallint, Go动态加载, 哈希表源码分析, 混合索引结构, array-backed
Posted in Go语言基础和工具链Go map[string]的key字符串超过128字节就变慢?用perf record -e cycles:u验证small string优化失效边界 第一章:Go map[strin … Go map[string]的key字符串超过128字节就变慢?用perf record -e cycles:u验证small string优化失效边界Read more by Golang修行笔记|2026年1月26日|perf火焰图, 字符串key性能, cycles事件, Map线程安全, Go语言数组转String优化, smallint, Go动态加载, ResponseRecorder
Posted in 问题排查与答疑Go语言处理数据库tinyint、smallint的坑,99%人都没注意到 第一章:Go语言数据库查询整形的 … Go语言处理数据库tinyint、smallint的坑,99%人都没注意到Read more by 容器守护者|2025年9月23日|Go语言编程实践, 反射类型处理, 数组与数据库, tinyint, smallint