• 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: Robert Dell <email@hidden>
  • Date: Fri, 21 Oct 2005 06:09:01 -0400

Jeff Laing wrote:
are you trying to make my code run slower?


Frankly, I don't see where anyone producing code that looks like this:

(from http://optusnet.dl.sourceforge.net/sourceforge/yasse/yasse-2.2.0.m)

      digit = [[mystringvalue substringFromIndex: 0] substringToIndex: 1];
      if ([digit isEqualTo: @"1"])
        {
        result = result * 10;
        result = result + 1;
        }
      else if ([digit isEqualTo: @"0"])
        {
        result = result * 10;
        };
      mystringvalue = [mystringvalue substringFromIndex: 1];
      };

gets to blame the compiler for producing sub-optimal runtime. The amount of
Objective-C overhead thats deliberately introduced here, for now good
reason, is mindboggling.

do you know of any other way i can get a string of say "4n35a" to return the numeric result of 435 or a string "2.3906" to return the numeric value of 23906? there's a reason for this routine. when the system can't handle wht you need, make it. i'm inputting a string such as " 43 25% learning" and need the numeric value 4325 from that and ignore the rest.

_______________________________________________
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


  • Follow-Ups:
    • Re: Speeding up XCode?
      • From: Andreas Grosam <email@hidden>
    • Re: Speeding up XCode?
      • From: email@hidden
References: 
 >RE: Speeding up XCode? (From: Jeff Laing <email@hidden>)

  • Prev by Date: Re: I can't build with Xcode 2.2_preview3_8m639_018213953
  • Next by Date: Re: Speeding up XCode?
  • Previous by thread: RE: Speeding up XCode?
  • Next by thread: Re: Speeding up XCode?
  • Index(es):
    • Date
    • Thread