=============================
objspace.opcodes.CALL\_METHOD
=============================

* **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




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.

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

.. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html#lookup-method-call-method
