Petteri Aimonen 7a9c29f2d7 Perform field initialization to defaults only when the field is skipped.
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.
2013-04-05 21:35:36 +03:00
2013-02-11 22:03:14 +02:00
2013-03-02 16:32:15 +02:00
2012-01-06 19:04:49 +02:00

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
Automatically exported from code.google.com/p/nanopb
Readme 1.2 MiB
Languages
C 71.7%
Python 23.1%
CMake 2.5%
Shell 1.8%
PureBasic 0.4%
Other 0.5%