8000 gh-105535 Document potential performance trap during enum creation by nicky-eng · Pull Request #107119 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-105535 Document potential performance trap during enum creation #107119

8000
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

Merged
merged 11 commits into from
Mar 8, 2024
Prev Previous commit
Next Next commit
Update Doc/library/enum.rst
  • Loading branch information
ethanfurman authored Mar 4, 2024
commit c8c74cda82cabbb9148f98fed2745a5e823800f6
4 changes: 2 additions & 2 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ Data Types

While mutable/unhashable values, such as :class:`dict`, :class:`list` or
a mutable :class:`~dataclasses.dataclass`, can be used, they will have a
quadratic performance impact relative to the total number of
mutable/unhashable values in the enum.
quadratic performance impact during creation relative to the
total number of mutable/unhashable values in the enum.


.. attribute:: Enum._ignore_
Expand Down
0