# objspace.std.withmethodcache

- name: withmethodcache
- description: try to cache method lookups
- command-line: –objspace-std-withmethodcache
- command-line for negation: –no-objspace-std-withmethodcache
- option type: boolean option
- default: False
- requirements:
  - objspace.std.withtypeversion must be set to ‘True’
  - translation.rweakref must be set to ‘True’

Enable method caching. See the section “Method Caching” in Standard Interpreter Optimizations.