Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, September 2007
what is the max size of qmap


Message 1 in thread

how many max number key & value pairs can be inserted in a QMap... plz let me know


D. Anil kumar

Every success has a story of great failure.
So don’t stop with failure where
Success comes after failure.

Message 2 in thread

On Thursday 06 September 2007 07:54:18 anil kumar wrote:
> how many max number key & value pairs can be inserted in a QMap... plz let
> me know

As many as you have memory for. You're probably going to see some performance 
issues adding, removing or searching for elements before you exhaust the 
memory available.

QHash is more suitable for a large number of elements. It also has no upper 
limit.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.