John Snow 5560b85a31 qtest: pre-buffer hex nibs
Instead of converting each byte one-at-a-time and then sending each byte
over the wire, use sprintf() to pre-compute all of the hex nibs into a
single buffer, then send the entire buffer all at once.

This gives a moderate speed boost to memread() and memwrite() functions.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1431021095-7558-2-git-send-email-jsnow@redhat.com
2015-05-22 15:58:22 -04:00
..
2015-05-11 14:49:04 +01:00
2014-12-17 05:49:32 +03:00
2015-03-10 08:15:34 +03:00
2014-05-05 20:58:33 +02:00
2012-03-12 15:14:07 +01:00
2014-02-14 16:22:33 +01:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:36:17 +02:00
2015-04-28 15:27:51 -04:00
2014-05-05 20:58:33 +02:00
2014-05-05 20:58:33 +02:00
2014-02-14 21:07:13 +01:00
2015-05-22 15:58:22 -04:00
2014-02-14 20:50:19 +01:00
2015-03-17 14:50:44 +01:00
2014-02-14 16:22:33 +01:00
2015-04-28 15:36:11 +02:00
2013-02-01 08:32:20 +01:00
2014-02-14 21:02:27 +01:00
2014-03-31 22:35:50 +02:00
2014-02-14 16:22:33 +01:00
2014-07-18 14:57:35 +02:00