• 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: What is the maximum size of an NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Passing Obj-C method as callback to C function
  • Next by Date: Re: Modal like window?
  • Previous by thread: Re: What is the maximum size of an NSString?
  • Next by thread: Re: What is the maximum size of an NSString?
  • Index(es):
    • Date
    • Thread