Avoids unnecessary initialization & unnecessary scan of the pb_field_t array. Runtime on Cortex-M3 -5%, code size +2%. Could need some more testing with random field orders. Have to write a tool to randomize fields in a message.
Nanopb is a small code-size Protocol Buffers implementation. Homepage: http://kapsi.fi/~jpa/nanopb/ To compile the library, you'll need these libraries: protobuf-compiler python-protobuf libprotobuf-dev The only runtime dependencies are memset() and memcpy(). To run the tests, run make under the tests folder. If it completes without error, everything is fine.
Description
Languages
C
71.7%
Python
23.1%
CMake
2.5%
Shell
1.8%
PureBasic
0.4%
Other
0.5%