FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105535 Document potential performance trap during enum creation by nicky-eng · Pull Request #107119 · python/cpython · GitHub

Repository navigation

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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Comment thread
ethanfurman marked this conversation as resolved.
Resolved

.. attribute:: Enum._ignore_
Expand Down

Back | FazBrowse Home | New Git URL