• 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
Programming style (was Accessors) revisited ; de-compiler ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programming style (was Accessors) revisited ; de-compiler ???


  • Subject: Programming style (was Accessors) revisited ; de-compiler ???
  • From: Raff <email@hidden>
  • Date: Thu, 15 Aug 2002 03:10:32 +0200

Sorry to come back about this topic, but I was on holliday;

about the positive/negative test
if (newObject == object) return;
or
if (newObject != object) {
doIt !
}

I read it depended on the type of processors.

I thought it would depend on the compilator : as far as I'm concerned, I would think the first method is faster because the code produced would be a test which leads to 'blr'.

How can it be different on a different machine if I do use the same compiler ? (sorry if this is a silly question)

***

By the way, is there a program to de-compile code in the developper utilities ? I didn't find it.
(machine code > PPC/68k assembly language).

Thanks for your attention.

R.D.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Programming style (was Accessors) revisited ; de-compiler ???
      • From: Victor Ng <email@hidden>
    • Re: Programming style (was Accessors) revisited ; de-compiler ???
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: .pax?
  • Next by Date: NSView to CGL
  • Previous by thread: Re: .pax?
  • Next by thread: Re: Programming style (was Accessors) revisited ; de-compiler ???
  • Index(es):
    • Date
    • Thread