Large Arrays of Strings

Discussion in 'ASP .Net' started by Maxim, Jun 29, 2003.

  1. Maxim

    Maxim Guest

    Hello,

    I was wondering what the best data structure is to hold a large list of
    strings?

    Currently I am using the ArrayList, which seems to be terribly slow to add a
    large number of strings.

    Any help on this matter would be fantastic.

    Thankyou.

    Maxim.
     
    Maxim, Jun 29, 2003
    #1
    1. Advertising

  2. Maxim

    Natty Gur Guest

    Hi,

    Storing strings in array list will cause boxing and unboxing of strings.
    I think it is better to keep those strings in simple string array.


    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Natty Gur, Jun 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben

    Strings, Strings and Damned Strings

    Ben, Jun 22, 2006, in forum: C Programming
    Replies:
    14
    Views:
    810
    Malcolm
    Jun 24, 2006
  2. Philipp
    Replies:
    21
    Views:
    1,185
    Philipp
    Jan 20, 2009
  3. Karin Lagesen

    matching strings in a large set of strings

    Karin Lagesen, Apr 29, 2010, in forum: Python
    Replies:
    13
    Views:
    471
    Bryan
    May 3, 2010
  4. Helmut Jarausch
    Replies:
    3
    Views:
    345
    Dave Angel
    Apr 30, 2010
  5. Ketchup
    Replies:
    1
    Views:
    283
    Jan Tielens
    May 25, 2004
Loading...

Share This Page