[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

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

1 Solution
Use SAX and instantiate a List of Info classes
SquadlessAuthor Commented:
man...thats a good idea...

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now