FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove `BUILD_CONST_KEY_MAP` opcode · Issue #122160 · python/cpython · GitHub

Repository navigation

Remove BUILD_CONST_KEY_MAP opcode #122160

Closed
Closed

Description

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

Activity

  1. added a commit that references this issue on 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


      Back | FazBrowse Home | New Git URL