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

List:       kde-devel
Subject:    Re: QMemarray issue
From:       Patrick Julien <freak () ideasandassociates ! com>
Date:       2002-02-14 21:33:56
[Download RAW message or body]

ian reinhart geiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 14 February 2002 03:31 pm, Waldo Bastian wrote about Re: QMemarray 
> issue:
> 
>>On Thursday 14 February 2002 11:18 am, ian reinhart geiser wrote:
>>
>>>Also I used Qmemarray because I was told it was faster than QPtrList,
>>>would another data structure make this easier?
>>>
>>QPtrVector seems more appropriate.
>>
> Why?
> 
> basicly from what i can tell from the docs is
> QPtrVector<myObject> == QMemArray<myObject *>
> 
> Is one faster than the other?
> Will one scale better than the other?

	QPtrVector knows it's handling pointers... that means you can arrange for 
it do some simple memory management for you.

> 
> Thanks
> 	-ian reinhart geiser
> 
> - -- 
> :-- Ian Reinhart Geiser --:
> GPG Key: D6A6 7E16 13A9 B5A7 9E18 D1A7 3F2E B64D 19BC 76F8
> ===========================================================
> ===========================================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE8bCg8Py62TRm8dvgRAuYNAKDJKYtBwalxZFFJqGm1GzAGvcMNlACfYjSF
> xzCQGEwtMjmKrgyooAHTsmQ=
> =JWwc
> -----END PGP SIGNATURE-----
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
>  
> 
>>>Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>>>



-- 
Patrick Julien
Team Leader / Lead Developer
Ideas & Associates (514) 940-2891x211

 
>> Visit http://mail.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