+
Skip to content

Add BINARY_SLICE and STORE_SLICE instructions. #94163

@markshannon

Description

@markshannon

We want this, because:

  • Specializing for indexing by int and by slice are different and should be treated differently
  • It avoids creating the temporary slice object.
  • Indexing by slice is syntactically distinct from indexing by object. The compiler can generate better code if it has different instructions.

For full discussion see faster-cpython/ideas#319

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载