Re: 3 obj-c/cocoa beginner q's
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.