• 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
Re: [Q] large flat files usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: [Q] large flat files usage (From: Phillip Morelock <email@hidden>)

  • Prev by Date: Re: Singletons?
  • Next by Date: Re: [Q] large flat files usage
  • Previous by thread: Re: [Q] large flat files usage
  • Next by thread: Re: [Q] large flat files usage
  • Index(es):
    • Date
    • Thread