Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Which methods use primitives?
Last updated at 8:22 am UTC on 8 January 2016
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