Posted in

Go interface底层存储双字模型(itab+data)全剖析(含空接口vs非空接口内存开销对比),附interface{}转string的3次内存拷贝实测

第一章:Go interface … Go interface底层存储双字模型(itab+data)全剖析(含空接口vs非空接口内存开销对比),附interface{}转string的3次内存拷贝实测Read more

Posted in

【内核级调试实录】:dlv trace捕获runtime.memmove调用栈,揭示slice append背后隐藏的3次数组拷贝

第一章:Go语言数组拷贝的底层机 … 【内核级调试实录】:dlv trace捕获runtime.memmove调用栈,揭示slice append背后隐藏的3次数组拷贝Read more