Arseny Boykov added the comment:
Also, do we need to leave compatibility with python <3.8?
If not, we could use the fact that python 3.8 dicts and sets which are preserve
order to speed things up even more. Also I'd replace % string formatting with
f-strings, as they also fas
Change by Arseny Boykov :
--
keywords: +patch
pull_requests: +17133
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17669
___
Python tracker
<https://bugs.python.org/issu
New submission from Arseny Boykov :
Now enum has very poor speed on trying values and attributes access (especially
when it comes to accessing members name/value attrs)
There are two major reasons why attrs access is slow:
- All values/names access going through DynamicClassAttribute (x10