Re: [Q] large flat files usage
Re: [Q] large flat files usage
- Subject: Re: [Q] large flat files usage
- From: Georg Tuparev <email@hidden>
- Date: Fri, 21 Jun 2002 10:39:00 +0200
This does not directly answer the questions, but I hope it might help:
- On the issue of mapped files check
http://developer.apple.com/technotes/tn/tn2037.html. Apple needs badly
to fix this one, but at least they tried to explain ...
- If you are going to implement your own solution, it might be worth
checking the old NSPPL class - it was part of Foundation framework, but
later Apple (or was it NeXT) decided to make it open source. I am sure
you can find the sources somewhere... What you would like to achieve is
something like a primitive database - possible but not a trivial task.
Consider other possibilities before going along this road! You might
even consider using a real embedded database...
cheers
gt
On Friday, June 21, 2002, at 02:46 , Phillip Morelock wrote:
Is this in fact what physically happens? Does the (OS/filesystem) have
to
shove everything over to make room, like when you "insert" an element
in the
middle of a memory array (where you actually have to copy each of the
remaining elements)? If so, an expensive and seemingly unpractical
operation when it comes to inserting a 50-byte record in a 20Mbyte
file. Or
is there something I'm missing conceptually? Sure feels like it!
Georg Tuparev
Tuparev Technologies
Klipper 13
1186 VR Amstelveen
The Netherlands
Mobile: +31-6-55798196
_______________________________________________
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.