diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-08-31 12:22:56 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-08-31 12:22:56 +0200 |
commit | 8778bffdd25dca050b3aa2a7a7e05bc8a63a6665 (patch) | |
tree | 8b13e2987961283c0b828f309a5096dba67f6604 /stream.c | |
parent | 5284557bfad96f12dd5798539008e1644f1dc094 (diff) | |
download | strace-8778bffdd25dca050b3aa2a7a7e05bc8a63a6665.tar.gz strace-8778bffdd25dca050b3aa2a7a7e05bc8a63a6665.tar.bz2 strace-8778bffdd25dca050b3aa2a7a7e05bc8a63a6665.tar.xz |
Optimize string_quote() for speed
* util.c (string_quote): Speed up check for terminating NUL.
Replace strintf() with open-coded binary to hex/oct conversions -
we potentially do them for every single byte, need to be fast.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions