Newbie Q:Considerations/Techniques for Saving Large Amounts of Data
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.