This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author valer
Recipients eric.smith, steve.dower, valer
Date 2018-06-25.22:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529964108.77.0.56676864532.issue33881@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-06-25 22:01:48valersetrecipients: + valer, eric.smith, steve.dower
2018-06-25 22:01:48valersetmessageid: <1529964108.77.0.56676864532.issue33881@psf.upfronthosting.co.za>
2018-06-25 22:01:48valerlinkissue33881 messages
2018-06-25 22:01:48valercreate