How to find out the number of methods in Squeak 3.0
Joshua 'Schwa' Gargus
schwa at cc.gatech.edu
Fri Jul 5 19:31:58 UTC 2002
Hi Lily,
One way is to execute the following code in a workspace:
classMethodCount := 0.
instanceMethodCount := 0.
Class allSubInstances do: [:class |
instanceMethodCount := instanceMethodCount + class methodDictionary size.
classMethodCount _ classMethodCount + class class methodDictionary size].
Joshua
On Fri, Jul 05, 2002 at 12:15:30PM -0700, Lily Smith wrote:
> Dear experts:
>
> I am a newbie. How can I find out the total number of
> instance methods and class-side methods in Squeak 3.0?
>
> Thanks!
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
More information about the Squeak-dev
mailing list
|