On Monday, July 13, 2015 12:45:00 AM Marc Mutz wrote:
> On Sunday 12 July 2015 22:55:04 Alejandro Exojo wrote:
> > With respect to "less code in your executable", note that in your blog
> > post
> > 
> > you said:
> > > On the positive side, QList is a real memory saver when we talk about
> > > the
> > > amount of code generated. That is because QList is but a thin wrapper
> > > around an internal class that maintains the memory for void*s. This
> > > leads
> > > to more compact code, because all the memory management code is shared
> > > between QLists of different types.
> > 
> > Does this mean that it changed in Qt5, or am I missing something? Because
> > I  still see QVector being a pure header class, while some part of QList
> > is in the cpp file.
> 
> Since that was written, I have seen QVector create less executable code than
> QList. In theory, QList should expand to less memory, but inefficient
> QLists, what with the heap allocations, probably uses more. Haven't
> investigated much.

From what I've heard from Volker (in CC), he's seen roughly the same code 
bloat from QList and QVector. Volker, could you give us some numbers please?

Bye

-- 
Milian Wolff | [email protected] | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to