# PyPy Configuration[objspace.std.withfastslice]

PyPy Configuration[objspace.std.withfastslice]
general documentation config index command-line overview

# objspace.std.withfastslice

Contents

- Basic Option Information
- Description

back to parent

# Basic Option Information

- name: withfastslice
- description: make list slicing lazy
- command-line: --objspace-std-withfastslice
- command-line for negation: --no-objspace-std-withfastslice
- option type: boolean option
- default: False
- requirements:
  - objspace.std.withmultilist must be set to 'True'

# Description

A variant of --objspace-std-withmultilist that makes list slicing copy the list lazily (that is only when the original list or the slice are mutated). This is not perfectly well tested.

See the description in Standard Interpreter Optimizations for more details.