Golang deepcopy 的性能
By ego008
at 2018-06-26 17:37 • 2975次点击
使用 reflecting 和 gob 两种方式,性能比较结果:
Deep copy with reflecting is 10x faster than gob and it will save more memory.
reflecting 使用库 https://github.com/mohae/deepcopy 78 过程参见 https://xuri.me/2018/06/17/deep-copy-object-with-reflecting-or-gob-in-go.html 62
目前尚无回复
请 登录 后发表评论