Re: NSData dataWithContentsOfMappedFile with huge files?
Re: NSData dataWithContentsOfMappedFile with huge files?
- Subject: Re: NSData dataWithContentsOfMappedFile with huge files?
- From: Robert Martin <email@hidden>
- Date: Sun, 27 Aug 2006 15:21:38 -0400
You might want to take a look at: http://ridiculousfish.com/blog/
archives/2006/08/24/hex-fiend-11/
Rips through files of gigantic size!
On Aug 27, 2006, at 2:29 AM, Cameron Hayne wrote:
On 25-Aug-06, at 4:54 PM, Shawn Erickson wrote:
If NSData does a straight contiguous mapping (which it likely has to
do given its API) the limit is just a little over 2 GiB in size
(assuming a clean application heap).
Hmm, that makes sense. I guess it was wishful thinking - I was
hoping that it might do something super-smart behind the scenes
such that it could cover more than that as long as you didn't ask
for too large a chunk of 'bytes' at any one time.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40frontiernet.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden