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

List:       kde-devel
Subject:    Re: Question about QVector and QArray
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2001-07-24 8:35:28
[Download RAW message or body]

On Tuesday 24 July 2001 10:17, Dirk Mueller wrote:
>
> Thats what binary tree's were invented for. use QMap ;-)

In which case you get slightly slower access but much larger memory 
consumption. Containers can be summed up like this :

constant time random access, easy middle insertion, low memory consumption : 
pick two.

-- 
Guillaume
http://www.telegraph-road.org
 
>> 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