Re: Speeding up XCode?
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