aboutsummaryrefslogtreecommitdiffstats
path: root/pb_encode.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-05 22:39:32 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-05 22:39:32 +0200
commit39b8a5e2bbd5da85f23b48280e81a5ce6672b09d (patch)
tree616594521e30d4bbfd683122c1fdadc7233ac024 /pb_encode.c
parentc372ebc665540df2578e869e73405b3d309bfc48 (diff)
Make pb_decode_varint32 a separate implementation.
This avoids doing 64-bit arithmetic for 32-bit varint decodings. It does increase the code size somewhat. Results for ARM Cortex-M3: -10% execution time, +1% code size, -2% ram usage.
Diffstat (limited to 'pb_encode.c')
0 files changed, 0 insertions, 0 deletions