[Interest] Faster QXmlStreamWriter?
giuseppe.dangelo at kdab.com
Sun Apr 22 16:53:07 CEST 2018
Il 22/04/2018 16:30, Vadim Peretokin ha scritto:
> A lot of time seems to be spent resizing the buffer, and unfortunately
> there doesn't seem to be a way to pre-set the QBuffer size to something
> reasonable to begin with.
> Anyone have tips?
Didn't check the actual code, but you can always resize a QBuffer
b.buffer().resize(1234); // or reserve()
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4007 bytes
Desc: Firma crittografica S/MIME
More information about the Interest