troubleshooting Question

Java Containers / Performance

Avatar of Squadless
Squadless asked on
JavaXML
2 Comments1 Solution232 ViewsLast Modified:
I am stuck on the performance issue/algorithrm problem...
the problem: .im parsing an xml file... this is a simple example of it
<info>
 <name></name>
 <id></id>
 <pw><pw>
 <ip></ip>
</info>

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...

Thanks.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros