Java Containers / Performance

Posted on 2007-07-26
Last Modified: 2013-11-23
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...

Question by:Squadless
    LVL 86

    Accepted Solution

    Use SAX and instantiate a List of Info classes
    LVL 1

    Author Comment

    man...thats a good idea...

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction In my previous article ( I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now