summaryrefslogtreecommitdiffstats
path: root/pb_decode.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-05 22:06:36 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-02-05 22:06:36 +0200
commitc372ebc665540df2578e869e73405b3d309bfc48 (patch)
tree5ca9089c5aa273ac289febef43e1fe20541c896d /pb_decode.h
parent38ced18639f1e2236e9949071e3ddc148cf2ad73 (diff)
Performance improvement: replace memcpy with loop.
In the pb_istream_from_buffer and pb_ostream_from_buffer, memcpy was used to transfer values to the buffer. For the common case of count = 1-10 bytes, a simple loop is faster.
Diffstat (limited to 'pb_decode.h')
0 files changed, 0 insertions, 0 deletions