August 10, 2026Kevin McDonald
ProtobufProtobuf Tip #10: Choosing the right integer type
Protobuf has ten integer types. Use int64. In Go, even the slow cases decode a thousand integers in a few microseconds, so the choice almost never matters.
Protobuf has ten integer types. Use int64. In Go, even the slow cases decode a thousand integers in a few microseconds, so the choice almost never matters.