On 04/02/2010, at 4:21 PM, Michael Ash wrote:

> Why is everybody so worried about loading an excessive amount of data
> if it's a directory, but not if it's a file? HFS+ is capable of
> holding files over a billion gigabytes long, which you're going to
> have a certain amount of trouble squeezing into RAM. (Or onto any kind
> of storage, for that matter.)
> 
> If you know that your data will fit into RAM, then you can read it all
> at once. If you're not certain, then you must read it in pieces.
> Whether the data in question is a single file or a directory of files
> doesn't influence this decision at all.


True, but I guess that with a single file you can find out its size ahead of 
time easily, whereas with a directory it's quite a bit more involved to find 
out the size of it.

--Graham

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to