Skip to content

Optimize and reduce memory usage for asyncio.Task and others #104787

Description

@kumaraditya303

Tracker issue for performance work related to asyncio.Task for 3.13.

Two things of top of my head is to use bitfields and use newer managed dict optimization in _asyncio. I'll add whatsnew entry once all changes land under this issue.

Linked PRs

Activity

  1. itamaro commented on May 23, 2023

    @itamaro
    Contributor

    Sounds great!
    Are you planning to also tackle the all_tasks -> per-loop-strong-set as part of this issue?

  2. kumaraditya303 commented on May 23, 2023

    @kumaraditya303
    ContributorAuthor

    Are you planning to also tackle the all_tasks -> per-loop-strong-set as part of this issue?

    Yes, but haven't thought too much about that.

  3. added a commit that references this issue on May 26, 2023
  4. added a commit that references this issue on Jun 13, 2023
  5. added a commit that references this issue on Jul 10, 2023
  6. moved this from Todo to Done in asyncioon Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions