• 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: Speeding up XCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speeding up XCode?


  • Subject: Re: Speeding up XCode?
  • From: Cameron Hayne <email@hidden>
  • Date: Fri, 21 Oct 2005 10:52:46 -0400

On 21-Oct-05, at 6:49 AM, email@hidden wrote:

Then you ask yourself if you specifically *don't* want Unicode support... in which case you can look at simpler, faster implementations using vanilla chars.

It seems to me that Robert's code is handling text messages sent by some other software - so assuming ASCII is probably quite safe. And thus I would recommend using pure C if speed is a consideration (it likely isn't really an issue but speed is the concern of this thread!) - e.g. using the standard function 'scanf' if the format is known, or writing an 'extractDigits' function to get a string with only the digits from a given string, and then using one of the standard C functions like 'strtol' to convert that digit string to a long integer.


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >RE: Speeding up XCode? (From: Jeff Laing <email@hidden>)
 >Re: Speeding up XCode? (From: Robert Dell <email@hidden>)
 >Re: Speeding up XCode? (From: email@hidden)

  • Prev by Date: RE: [OT] Best place to ask pthreads related questions?
  • Next by Date: RE: STL behaving improperly
  • Previous by thread: Re: Speeding up XCode?
  • Next by thread: Re: Speeding up XCode?
  • Index(es):
    • Date
    • Thread