Which methods use primitives?
Last updated at 3:58 pm UTC on 14 January 2006
Is there are quick way to get a list of methods that use primitives?
Try...
SystemNavigation new 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 Ingalls
In my Squeak 3.x image, the correct start is
Smalltalk browseAllSelect:
Ross Boylan