• 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: Question about an NSScanner loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about an NSScanner loop


  • Subject: Re: Question about an NSScanner loop
  • From: j o a r <email@hidden>
  • Date: Thu, 13 Jan 2005 01:23:43 +0100


On 2005-01-12, at 23.38, Jonathan E. Jackel wrote:

The typical NSScanner loop for a 2D array would have an outer and an inner loop.  The outer loop would read in a line of input.  The inner loop would divide the line into records. 

Creating a lot of scanners like this can potentially be fairly expensive, both in terms of memory and CPU. Only do that if you're sure you're dealing with smallish sets of data...


j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >RE: Question about an NSScanner loop (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: NSTextView Line Number
  • Next by Date: IB Palettes, custom classes and the need for Frameworks
  • Previous by thread: RE: Question about an NSScanner loop
  • Next by thread: Re: Question about an NSScanner loop
  • Index(es):
    • Date
    • Thread