[issue28637] Python startup performance regression
Gregory P. Smith
report at bugs.python.org
Wed Nov 9 02:30:29 EST 2016
Gregory P. Smith added the comment:
re: Ethan's question - I think the enum use should be restored in re.
I realize issue28082 (yay palindrome number) is not an urgent change but we created IntEnum for the purpose of more identifiable integer constants.
So a microbenchmark of "import re" slows down. so what? I don't find this to be a big deal. Other standard library modules also use enum and I expect more to do so in the future. In realistic size programs other things use enum as well so there isn't a hit.
PS thanks for the site.py improvements!
----------
nosy: +gregory.p.smith
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28637>
_______________________________________
More information about the Python-bugs-list
mailing list