• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Q:Considerations/Techniques for Saving Large Amounts of Data


  • Subject: Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
  • From: "Ian G. Gillespie" <email@hidden>
  • Date: Fri, 30 Jan 2004 13:30:08 -0800

Hi,

My question is this, without implementing a database, how can I write
large data files to disk efficiently? Read below for more details.

I have a few applications which need to save thousands of objects in
arrays. What's more, is that each time the user uses the program they
will likely add more objects to different arrays, making the data
structure larger and larger and thus writing the file to disk will take
longer and longer.

I have noticed that iCal saves events as soon as the user creates them,
to a .ics file, but you never notice it saving. Maybe they have another
thread do the saving, or maybe there is a way to just re-write part of
the file?

Any thoughts, help or tips are most welcome.

~Ian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
      • From: Philip Mötteli <email@hidden>
    • Re: Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Importing tab-delimited data
  • Next by Date: Re: Playing sound effect in thread
  • Previous by thread: Importing tab-delimited data
  • Next by thread: Re: Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
  • Index(es):
    • Date
    • Thread