Open bugVanisher opened 4 years ago
https://bugvanisher.github.io/2020/05/23/go-escape-analysis/
说到内存分配,我们需要有一个常识性的认知:栈内存的分配较廉价,而堆内存分配相对昂贵。
https://bugvanisher.github.io/2020/05/23/go-escape-analysis/
说到内存分配,我们需要有一个常识性的认知:栈内存的分配较廉价,而堆内存分配相对昂贵。