diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-02-05 22:06:36 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-02-05 22:06:36 +0200 |
commit | c372ebc665540df2578e869e73405b3d309bfc48 (patch) | |
tree | 5ca9089c5aa273ac289febef43e1fe20541c896d /tests/testperson.pb | |
parent | 38ced18639f1e2236e9949071e3ddc148cf2ad73 (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 'tests/testperson.pb')
0 files changed, 0 insertions, 0 deletions