Dgeodjo / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 1 forks source link

Use direct offsets with PB_FIELD_32BIT #144

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the requested feature:
When compiled with PB_FIELD_32BIT, we could just use direct pSize/pData offsets 
in the pb_field_t structure, instead of incrementing the pointers.

In what situation would the feature be useful:
Would reduce the size and execution time slightly.

Original issue reported on code.google.com by Petteri.Aimonen on 27 Jan 2015 at 3:52