PyPy
PyPy Configuration[objspace.std.multimethods]
modified Aug 17, 2008 by Armin Rigo

objspace.std.multimethods

back to parent

Basic Option Information

  • name: multimethods
  • description: the multimethod implementation to use
  • command-line: --objspace-std-multimethods
  • option type: choice option
  • possible values:
    • doubledispatch
    • mrd
  • default: mrd

Description

Choose the multimethod implementation.

  • doubledispatch turns a multimethod call into a sequence of normal method calls.
  • mrd uses a technique known as Multiple Row Displacement which precomputes a few compact tables of numbers and function pointers.