• 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: 3 obj-c/cocoa beginner q's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 obj-c/cocoa beginner q's


  • Subject: Re: 3 obj-c/cocoa beginner q's
  • From: Hamish Allan <email@hidden>
  • Date: Tue, 25 Mar 2003 20:01:40 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue Mar 25, 2003 15:12:55 Europe/London, David Remahl <email@hidden> wrote:

And because [NSArray count] could have side effects (say, change something that is read during the rest of the loop, or maybe even change the data i refers to!) the compiler has no way to optimize away that step.

Out of interest, can anyone tell me why "- (int) count const;" is not possible?

cheers,
Hamish
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+gLWn6gc2d//pELYRAsQ8AKC/CtTvdlw/r5dcnZ5h+wTmOH/SNACeNtgG
BEg8g2hO+rBb13gSA0LZgUI=
=0Uz7
-----END PGP SIGNATURE-----
_______________________________________________
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: 3 obj-c/cocoa beginner q's
      • From: Greg Titus <email@hidden>
  • Prev by Date: Re: Debugging screensavers
  • Next by Date: Re: Frequency of colors
  • Previous by thread: Re: 3 obj-c/cocoa beginner q's
  • Next by thread: Re: 3 obj-c/cocoa beginner q's
  • Index(es):
    • Date
    • Thread