◐ Shell
reader mode source ↗
Skip to content

Revert "bpo-40521: Remove freelist from collections.deque() (GH-21073)"#24944

Merged
rhettinger merged 1 commit into
python:masterfrom
rhettinger:deque_freelist
Mar 25, 2021
Merged

Revert "bpo-40521: Remove freelist from collections.deque() (GH-21073)"#24944
rhettinger merged 1 commit into
python:masterfrom
rhettinger:deque_freelist

Conversation

@rhettinger

@rhettinger rhettinger commented Mar 20, 2021

Copy link
Copy Markdown
Contributor

This reverts commit 32f2eda.
It can be re-applied if the subinterpreters PEP is approved.
Otherwise, the commit degraded performance with no offsetting
benefit.

https://bugs.python.org/issue40521

…-21073)"

This reverts commit 32f2eda.
It can be re-applied if the subinterpreter PEP is approved.
Otherwise, the commit degraded performance with no offsetting
benefit.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

It can be re-applied if the subinterpreters PEP is approved.

subinterpreters exist for years and are used by multiple projects. The recent work is to make more code compatible with subinterpreters (make the code "correct"), only a small part of the work is really specific to preparing CPython code base for running multiple interpreters in parallel.

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

Labels

performance Performance or resource usage skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants