Re: What is the purpose of static typing?
Re: What is the purpose of static typing?
- Subject: Re: What is the purpose of static typing?
- From: Andy Lee <email@hidden>
- Date: Thu, 25 Jul 2002 09:59:19 -0400
At 9:18 AM -0400 7/25/02, jas. hook wrote:
you should try the test again; but this time, time the statically
typed messaging first, and the dynamically typed messaging second.
Better yet, separate the tests into two applications that are
identical except for the statically-typed vs. id-typed declarations.
This way one test is much less likely to be skewing the other test.
Once you've done that, you might try diffing the binaries of the two
apps. Make sure to run "strip" first on both of them. I just did
that with two versions of a trivial program that differed only in the
declaration of an NSWindow* as an id. The binaries were identical,
so there *couldn't* have been any performance difference, at least
not due to how I declared the variables.
--Andy
_______________________________________________
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.