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



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

Reply via email to