Arwalk / zig-protobuf

a protobuf 3 implementation for zig.
MIT License
188 stars 20 forks source link

Tags can be deduced at compile time #7

Closed Arwalk closed 2 years ago

Arwalk commented 2 years ago

in append_tag, the encoded tag value can be calculated at compile-time since the wire value and tag value are both known at compile time.

Arwalk commented 2 years ago

Done in 27f7359f7d3908a6255bee62160da40ac90617fe