On Tuesday, 24 April 2018 07:39:08 PDT Konstantin Tokarev wrote:
> 24.04.2018, 11:40, "Vadim Peretokin" <vpereto...@gmail.com>:
> > On Tue, Apr 24, 2018 at 8:14 AM Thiago Macieira 
<thiago.macie...@intel.com> wrote:
> >> On Monday, 23 April 2018 22:02:20 PDT Vadim Peretokin wrote:
> >>> > Correct, QBuffer is not optimised for speed. I ran into that while
> >>> > developing
> >>> > QCborStreamWriter. The solution was to bypass it for speed.
> >>> 
> >>> OK, that's a pity. I'll look into using pugixml instead, and if anyone
> >>> else
> >>> knows a faster XML serializer, I'd he happy to hear about it.
> >> 
> >> Any chance you can choose a different serialisation format?
> > 
> > We're thinking on the consequences of that - if pugixml isn't fast enough
> > still, will look at a different format. Recommendations welcome! :)
> 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).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to