qiujiafei opened this issue 3 years ago · 1 comments
https://github.com/heiyeluren/XMM/blob/9cfb6823ead7fe2868fe35bb10598313f63db80f/src/xmm.go#L65-L68 会考虑支持空结构体的内存分配吗?类似 go 官方给个 zerobase https://github.com/golang/go/blob/badbc52d82b1f97861bf30457014fc9ea19dfcb2/src/runtime/malloc.go#L909-L916
是的,目前还不支持,因为分配出来是0字节内存~ 回头想想如何优化这个,谢谢意见