Title: Document that enums with unhashable members are created non-performantly · Issue #105535 · python/cpython · GitHub
Open Graph Title: Document that enums with unhashable members are created non-performantly · Issue #105535 · python/cpython
X Title: Document that enums with unhashable members are created non-performantly · Issue #105535 · python/cpython
Description: Documentation #28907 fixes enum creation taking quadratic time relative to the number of members, but only for members whose values are hashable. If not fixed, ideally this would be documented somewhere as it could potentially be a big p...
Open Graph Description: Documentation #28907 fixes enum creation taking quadratic time relative to the number of members, but only for members whose values are hashable. If not fixed, ideally this would be documented some...
X Description: Documentation #28907 fixes enum creation taking quadratic time relative to the number of members, but only for members whose values are hashable. If not fixed, ideally this would be documented some...
Opengraph URL: https://github.com/python/cpython/issues/105535
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document that enums with unhashable members are created non-performantly","articleBody":"# Documentation\r\n\r\n#28907 fixes enum creation taking quadratic time relative to the number of members, but _only_ for members whose values are hashable. If not fixed, ideally this would be documented somewhere as it could potentially be a big performance trap\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-107119\n* gh-116511\n* gh-116512\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mzhu22","@type":"Person","name":"mzhu22"},"datePublished":"2023-06-08T22:15:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/105535/cpython/issues/105535"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b59a5cc4-701e-5271-462b-52e471f9d6d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A60E:378262:14C1E34:1B321DB:696B217E |
| html-safe-nonce | 6bc3efe8590b0885d3717b2923dd13a30022924ec6f342d8897eb9e5c3e94b95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjBFOjM3ODI2MjoxNEMxRTM0OjFCMzIxREI6Njk2QjIxN0UiLCJ2aXNpdG9yX2lkIjoiMjgxMDI3MDIxNjc2OTcwODQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72e780c58a55a04e42f4bbf14a5e4390587efb8942dfa4e619c6653bdaaadf2c |
| hovercard-subject-tag | issue:1748721762 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/105535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d393d940997c00b2bf1646fd3003f313ea163e9b41b0dd46fdf72a686ef77d1/python/cpython/issues/105535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d393d940997c00b2bf1646fd3003f313ea163e9b41b0dd46fdf72a686ef77d1/python/cpython/issues/105535 |
| og:image:alt | Documentation #28907 fixes enum creation taking quadratic time relative to the number of members, but only for members whose values are hashable. If not fixed, ideally this would be documented some... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mzhu22 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width