Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kumaraditya303 opened this issue May 23, 2023 · 2 comments
Closed

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

kumaraditya303 opened this issue May 23, 2023 · 2 comments
Assignees
Labels
3.13 bugs and security fixes performance Performance or resource usage topic-asyncio

Comments

@kumaraditya303
Copy link
Contributor

kumaraditya303 commented May 23, 2023

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

@kumaraditya303 kumaraditya303 added performance Performance or resource usage topic-asyncio 3.13 bugs and security fixes labels May 23, 2023
@kumaraditya303 kumaraditya303 self-assigned this May 23, 2023
@github-project-automation github-project-automation bot moved this to Todo in asyncio May 23, 2023
@itamaro
Copy link
Contributor

itamaro commented May 23, 2023

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

@kumaraditya303
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes performance Performance or resource usage topic-asyncio
Projects
Status: Done
Development

No branches or pull requests

2 participants