[Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)
Thiago Macieira
thiago.macieira at intel.com
Thu Mar 25 00:49:25 CET 2021
On Wednesday, 24 March 2021 07:33:35 PDT Jason H wrote:
> The elephant in the room is that Qt5 QList an QVector can have majorly
> different impacts on memory. A QList<LargeClass> is more tolerant of memory
> fragmentation than QVector<LargeClass> as you need o reallocate a
> contiguous chunk of memory successfully. Where as Qt6 QList would allow
> LargeClass objects to be scattered. This is no longer the case in Qt6.
> You'll be forcing everything into contiguous memory. Which also has impacts
> on performance for systems with virtual memory. Please tell me I'm wrong
> about this?
You're not. That's correct: the contiguous memory of Qt 6 should have better
performance.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering
More information about the Interest
mailing list