Re: What is the maximum size of an NSString?
Re: What is the maximum size of an NSString?
- Subject: Re: What is the maximum size of an NSString?
- From: "Alastair J.Houghton" <email@hidden>
- Date: Tue, 28 Oct 2003 15:04:47 +0000
On Tuesday, October 28, 2003, at 02:04 pm, <email@hidden> wrote:
I think that generally speaking, a string can consume almost as much
memory as can be represented in the virtual memory system. I would
guess that it is possible to store multiple gigabytes in a string.
Probably not a good plan, though, unless there is a suitable underlying
representation (like the "rope" in SGI's STL). I would have thought
NSString is optimised for small to medium-sized strings, not
multi-gigabyte monsters ;->
Kind regards,
Alastair.
_______________________________________________
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.