which methods use primitives
Dan Ingalls
DanI at wdi.disney.com
Fri Jun 5 08:31:10 UTC 1998
>Is there are quick way to get a list of methods that use primitives?
Try...
Smalltalk browseAllSelect:
[:method | method primitive > 0
and: [(method primitive between: 256 and: 519) not]]
....or any similar pattern that fits your particular need. The check for 256-519 above avoids specially compiled simple methods.
- Dan
More information about the Squeak-dev
mailing list
|