Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User marazo's Avatar
    Join Date
    Aug 2007
    Posts
    4
    Hi,

    I'm making program that uses rather large textfile some 20 000 lines, a sort of a dictionary. There's one word in a row.

    Should I use it as a text file and then use input streamer to read it? I need to access only one line/word at a time.

    Does the size of this kind text file affect the amount of memory my program needs to run?

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    you probably should split it, and avoid storing it in memory.
    i would suggest you create one file per letter, at least. because reaching for the latest line of the file while take long time

Similar Threads

  1. Increasing Heap size
    By earamsey in forum Mobile Java General
    Replies: 3
    Last Post: 2007-10-18, 17:58
  2. How to increase default heap in 3rd edition
    By vishaljaiswal in forum Symbian C++
    Replies: 5
    Last Post: 2007-04-04, 17:25
  3. Dealing with large files, descriptor, heaps: advise!
    By nhammond in forum Symbian C++
    Replies: 0
    Last Post: 2006-12-01, 21:18
  4. how to increase heap size on emulator.
    By Basu in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-10-27, 15:55
  5. Custom heap allocator?
    By dhaas in forum Symbian C++
    Replies: 6
    Last Post: 2006-09-29, 03:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved