Java Containers / Performance

I am stuck on the performance issue/algorithrm problem...
the problem: .im parsing an xml file... this is a simple example of it

I will have about a 250K of these little chunks... now after the looping is done in the xml parser class, i will need to return 1 big container.  This container should CONTAIN about 250K smaller containers where each individual little container consists of 4 elements: name, id, pw and ip.  ...

Does anyone know what collection utility i should use for this??
Performance matter!!! i have a lot of ideas on how to do it but they are brute force...too slow...

Who is Participating?
Use SAX and instantiate a List of Info classes
SquadlessAuthor Commented:
man...thats a good idea...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.