GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove `BUILD_CONST_KEY_MAP` opcode · Issue #122160 · python/cpython

Remove BUILD_CONST_KEY_MAP opcode #122160

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove BUILD_CONST_KEY_MAP opcode#122160
Copy link

Description

@markshannon
markshannon
opened on Jul 23, 2024
Issue body actions

According to our stats the BUILD_CONST_KEY_MAP represents fewer than 1 in 20_000 instructions executed.

Presumably it is more common in startup code, but it has no real value there either.
For run once code, turning the keys into a constant merely moves the cost of building the keys from the interpreter to unmarshalling.

Linked PRs

  • GH-122160: Remove BUILD_CONST_KEY_MAP opcode. #122164

Activity

  1. markshannon
    added a commit that references this issue on Jul 25, 2024

    GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164)

    2e14a52
  2. markshannon
    closed this as completedon Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.