2011/4/14 Eric Blake <eblake(a)redhat.com>:
It costs quite a few processor cycles to go through printf parsing
just to determine that we only meant to append.
- virBufferVSprintf(&buf, "%s", k);
- virBufferVSprintf(&buf, "%s", "=");
- virBufferVSprintf(&buf, "%s", v);
+ virBufferVSprintf(&buf, "%s=%s", k, v);
Nice one :)
ACK.
Matthias