[Development] A faster qUtf8Printable for static trace points?
Milian Wolff
milian.wolff at kdab.com
Tue Sep 6 21:09:47 CEST 2016
On Dienstag, 6. September 2016 11:52:15 CEST Thiago Macieira wrote:
> Em terça-feira, 6 de setembro de 2016, às 20:48:39 PDT, Milian Wolff
escreveu:
> > > That change is interesting and we could accept it, but I still wouldn't
> > > want it used in tracepoints. You avoid the allocation, but you're still
> > > converting to UTF-8. Your benchmark doesn't show it because your strings
> > > are probably very short and our UTF-8 algorithm is very optimised. It is
> > > dwarfed by the memory allocation.
> >
> > OK, I will upstream this change independently of whether it will be used
> > for trace points or not then.
>
> I said it could be, but I frankly don't like it.
Hehe ok :) I'll see if I find the time to put it up for review anyways so it's
documented at least and won't be lost.
Cheers
--
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5903 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160906/63ce51c8/attachment.bin>
More information about the Development
mailing list