Posted in

结构体数组成员变更如何触发deep copy?——unsafe.Pointer绕过复制的工业级方案(仅限可信环境)

第一章:结构体数组成员变更如何触 … 结构体数组成员变更如何触发deep copy?——unsafe.Pointer绕过复制的工业级方案(仅限可信环境)Read more

Posted in

Go嵌套map在CGO边界穿越时的ABI陷阱:C字符串→Go string→map[string]interface{}→C结构体的6次内存复制链

第一章:Go嵌套map在CGO边 … Go嵌套map在CGO边界穿越时的ABI陷阱:C字符串→Go string→map[string]interface{}→C结构体的6次内存复制链Read more