Message Reset() should use "clear" to empty m.known & m.ext
Author: brevin-yokeCreated Jan 24, 2025Updated Aug 5, 2026
Labelsperformance
go1.21 add new builtin function clear() https://tip.golang.org/ref/spec#Clear
Message interface Reset() should use clear to empty all map
Source: golang/protobuf