Valeriya Sinevich <sinevich95l...@gmail.com> added the comment:
I sent a PR and measured how it affected the performance by creating a dataclass with 10000 members. python.bat -m timeit -s "from dataclasses import make_dataclass" -s "arg_list = [chr(k) * i for k in range(97, 123) for i in range(1, 500)]" "make_dataclass('a', arg_list)" The performance didn't change, both before and after the changes it takes around 14.5s. ---------- nosy: +steve.dower, valer _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com