[Development] Deprecating QString::{v,}sprintf()

Robin Burchell robin+qt at viroteck.net
Tue Feb 21 16:39:00 CET 2012


On Tue, Feb 21, 2012 at 3:20 PM,  <jan-arve.saether at nokia.com> wrote:
> Is there any reason why we cannot move QString::asprintf() to QByteArray::asprintf() instead?

If your data is already in a QString, you're going to pay a rather
large penalty to copy it all to a byte array just to use that, and
then convert it back.



More information about the Development mailing list