gpb
gpb copied to clipboard
A Google Protobuf implementation for Erlang
I feel like I brought this up before but I forget where and didn't see an existing issue opened by me. Basically I'd like to be able to re-use the...
Switches the internals of the `gpb` encoder to iolists. As mentioned in #217, this can improve the performance for larger payloads. Since `gpb:encode_varint` is exported and it returns binary, I...
This is the second optimization mentioned in #217. As you proposed there, the new code still works with the current format (list). Note that I was deliberately sloppy with the...
Recently I analyzed the encoding performance of this library for my clients, who need to encode somewhat larger messages fairly frequently. After some analysis and experimentation, I was able to...
How do I support generating erlang code for two proto's that have the same name, slightly different structure, and are in different packages: This file is located in `proto/public/foo.proto` ```...
Hi, I'm wondering about the support for *.textproto files, i.e. text-format for google protobufs. https://protobuf.dev/reference/protobuf/textformat-spec/ As far as I can see gpb doesn't support it, but maybe I'm mistaken? Otherwise...
This is an advance notice that I plan to drop support for Erlang versions before ~18~19 and at the same time bump gpb's major version to 5. *Edit:* Adding that...
I’ve noticed that the protobuf files generated by the tool are significantly large. Upon investigation, I found that each generated proto file redundantly includes the entire content of imported protos....