Message Reset() 应使用 "clear" 清空 m.known 和 m.ext。
作者: brevin-yoke创建于 2025年1月24日更新于 2026年8月5日
标签performance
go1.21 添加新的内置函数 clear() https://tip.golang.org/ref/spec#Clear
内容来源: golang/protobuf
go1.21 添加新的内置函数 clear() https://tip.golang.org/ref/spec#Clear
内容来源: golang/protobuf