objspace.std.intshortcut

  • name: intshortcut
  • description: special case addition and subtraction of two integers in BINARY_ADD//BINARY_SUBTRACT and their inplace counterparts
  • command-line: –objspace-std-intshortcut
  • command-line for negation: –no-objspace-std-intshortcut
  • option type: boolean option
  • default: False

Optimize the addition and subtraction of two integers. Enabling this option gives small speedups.