[Interest] Faster QXmlStreamWriter?

Julien Cugnière julien.cugniere at gmail.com
Tue Apr 24 18:39:37 CEST 2018

2018-04-24 17:52 GMT+02:00 Thiago Macieira <thiago.macieira at intel.com>:
> On Tuesday, 24 April 2018 07:39:08 PDT Konstantin Tokarev wrote:
>> If your serialized data is intended to be read by Qt applications only,
>> QDataStream may be a good choice
> Also slow.
> Binary QJsonDocument is the fastest, followed closely by QCborValue (new in
> 5.12).

Out of curiosity, what makes QDataStream slow? From your other comment
on QBuffer, it sounds like it might be related to the QIODevice
interface. Does that mean it's impossible to get best performance
through QIODevice, because of some design flaw? Or is there something
else that makes QDataStream and QBuffer slow?

More information about the Interest mailing list