[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Question about QVector and QArray
From:       Dirk Mueller <mueller () kde ! org>
Date:       2001-07-21 17:18:04
[Download RAW message or body]

On Sam, 21 Jul 2001, Ben Schepens wrote:

> I want to have an ordered random access list of objects
> that can have items inserted into the middle dynamically or
> appended  to the end.  How do I do that with QT's
> collection objects?

You shouldn`t insert in the middle in vector and array objects, because 
thats SLOW. 

if you want ordered, and random access, take a look at QMap. 


Dirk
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic