# PyPy Configuration[objspace.opcodes.CALL_METHOD]

PyPy Configuration[objspace.opcodes.CALL_METHOD]
general documentation config index command-line overview

# objspace.opcodes.CALL_METHOD

Contents

- Basic Option Information
- Description

back to parent

# Basic Option Information

- name: CALL_METHOD
- description: emit a special bytecode for expr.name()
- command-line: --objspace-opcodes-CALL_METHOD
- command-line for negation: --no-objspace-opcodes-CALL_METHOD
- option type: boolean option
- default: False

# Description

Enable a pair of bytecodes that speed up method calls. See `pypy.interpreter.callmethod` for a description.

The goal is to avoid creating the bound method object in the common case. So far, this only works for calls with no keyword, no `*arg` and no `**arg` but it would be easy to extend.

Gives the best results combined with --objspace-std-withshadowtracking.

For more information, see the section in Standard Interpreter Optimizations.