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 — Optimise `get_io_state()` · Issue #101469 · python/cpython

Optimise get_io_state() #101469

New issue
Copy link
New issue
Copy link
Closed
#101470
Closed
Optimise get_io_state()#101469
#101470
Copy link
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirperformancePerformance or resource usagePerformance or resource usage

Description

@erlend-aasland
erlend-aasland
opened on Jan 31, 2023
Issue body actions

The _io extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined _PyModule_GetState instead of the slower PyModule_GetState.

Linked PRs

  • gh-101469: Optimise get_io_state() by using _PyModule_GetState() #101470

Activity

  1. erlend-aasland
    added
    performancePerformance or resource usagePerformance or resource usage
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    on Jan 31, 2023
  2. erlend-aasland
    added a commit that references this issue on Jan 31, 2023

    pythongh-101469: Optimise get_io_state() by using _PyModule_GetState()

    bd4f58a
  3. erlend-aasland
    linked a pull request that will close this issuegh-101469: Optimise get_io_state() by using _PyModule_GetState() #101470on Jan 31, 2023
  4. miss-islington
    closed this as completedin #101470on Jan 31, 2023
  5. miss-islington
    added a commit that references this issue on Jan 31, 2023

    gh-101469: Optimise get_io_state() by using _PyModule_GetState() (GH-…

    f80db6c
  6. carljm
    added a commit that references this issue on Jan 31, 2023

    Merge branch 'main' into inlinecomp2

    db208d5
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

    extension-modulesC modules in the Modules dirC modules in the Modules dirperformancePerformance or resource usagePerformance or resource usage

    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.