Originally Posted by jpn Are you sure you even need QVector? For most purposes, QList is the right class to use. Do you really need continuous memory? generally either I process every item in a for loop or I use direct accesses using indices, so I suppose it works quicker on continuous tables...
I recommend reading Generic Containers documentation. Pay special attention to "algorithmic complexity".
J-P Nurmi
Forum Rules
Bookmarks