[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-24 8:17:08
[Download RAW message or body]

On Son, 22 Jul 2001, Rolf Magnus wrote:

> the middle without moving all the elements after it?  You can use 
> QList/QValueList instead if you want to do a fast insert at any position. You 
> cannot do a "random access" tough because you need to traverse the list for 
> that. There always is a tradeoff whether you choose an array or a linked list.

Thats what binary tree's were invented for. use 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