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 — Better performance for code getters in C API · Issue #95756 · python/cpython

Better performance for code getters in C API #95756

New issue
Copy link
New issue
Copy link
Closed
Closed
Better performance for code getters in C API#95756
Copy link
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement

Description

@Fidget-Spinner
Fidget-Spinner
opened on Aug 7, 2022
Issue body actions

Continuing from #94936, we should make these APIs offer performance advantages in 3.12.

I want a better/more performant implementation for 3.12. It will cache the debug info in a lazy debug struct much like how we do it for PyInterpreterFrame and PyFrameObject now.

Reacted by Donghee Na and Felipe S. S. Schneider

Activity

  1. Fidget-Spinner
    added
    type-featureA feature request or enhancementA feature request or enhancement
    performancePerformance or resource usagePerformance or resource usage
    3.12only security fixesonly security fixes
    on Aug 7, 2022
  2. Fidget-Spinner
    added a commit that references this issue on Oct 11, 2022

    gh-95756: Lazily created cached co_* attrs (GH-97791)

    b399115
  3. Fidget-Spinner
    closed this as completedon Oct 11, 2022
  4. Fidget-Spinner
    reopened this on Oct 11, 2022
  5. Fidget-Spinner
    added a commit that references this issue on Oct 11, 2022

    gh-95756: Free and NULL-out code caches when needed (GH-98181)

    7ec2e27
  6. carljm
    added 2 commits that reference this issue on Oct 14, 2022

    Merge branch 'main' into typewatch

    6e53514

    Merge branch 'main' into cached_property

    0bb0c69
  7. Fidget-Spinner
    closed this as completedon Nov 3, 2022
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

    3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetype-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.