osmpbf is allocation heavy. The code generated by https://github.com/gogo/protobuf can improve performance. Of course, benchmarks should prove it. And library package dependency should not change, only the .pb.go generator.
I will close that one as the latest version of the protobuf is much faster than it used to be, and gogo/protobuf is not as maintained as it used to be.
osmpbf is allocation heavy. The code generated by https://github.com/gogo/protobuf can improve performance. Of course, benchmarks should prove it. And library package dependency should not change, only the
.pb.go
generator.