
15 Apr
2011
15 Apr
'11
10:05 p.m.
2011/4/14 Eric Blake <eblake@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