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 — Constant-fold _CONTAINS_OP_SET for frozenset in the JIT optimizer · Issue #148083 · python/cpython

Constant-fold _CONTAINS_OP_SET for frozenset in the JIT optimizer #148083

New issue
Copy link
New issue
Copy link
Closed
Closed
Constant-fold _CONTAINS_OP_SET for frozenset in the JIT optimizer#148083
Copy link
Assignees
corona10
Labels
performancePerformance or resource usagePerformance or resource usagetopic-JITtype-featureA feature request or enhancementA feature request or enhancement

Description

@corona10
corona10
opened on Apr 4, 2026
Issue body actions

As in #146381, frozenset could be optimized in the same way as frozendict.

Linked PRs

  • gh-148083: Constant-fold _CONTAINS_OP_SET for frozenset #148084
  • gh-148083: Prevent constant folding when lhs is container types #148090

Activity

  1. corona10
    self-assigned this
    on Apr 4, 2026
  2. corona10
    added
    topic-JIT
    performancePerformance or resource usagePerformance or resource usage
    type-featureA feature request or enhancementA feature request or enhancement
    on Apr 4, 2026
  3. corona10
    added 3 commits that reference this issue on Apr 4, 2026

    pythongh-148083: Constant-fold _CONTAINS_OP_SET for frozenset

    e7de8f5

    pythongh-148083: Constant-fold _CONTAINS_OP_SET for frozenset

    52ca498

    gh-148083: Constant-fold _CONTAINS_OP_SET for frozenset (gh-148084)

    289f19a
  4. corona10
    closed this as completedon Apr 4, 2026
  5. corona10
    reopened this on Apr 4, 2026
  6. corona10
    closed this as completedon Apr 4, 2026
  7. corona10
    added 2 commits that reference this issue on Apr 4, 2026

    pythongh-148083: Prevent constant folding when lhs is container types

    1d54f5c

    gh-148083: Prevent constant folding when lhs is container types (gh-1…

    853dafe
  8. ljfp
    added 2 commits that reference this issue on Apr 25, 2026

    pythongh-148083: Constant-fold _CONTAINS_OP_SET for frozenset (python…

    315db30

    pythongh-148083: Prevent constant folding when lhs is container types (…

    8f39962
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @corona10
    corona10

Labels

performancePerformance or resource usagePerformance or resource usagetopic-JITtype-featureA feature request or enhancementA feature request or enhancement

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.