Author serhiy.storchaka
Recipients barry, brett.cannon, nascheme, serhiy.storchaka
Date 2018-03-27.09:03:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522141439.8.0.467229070634.issue33124@psf.upfronthosting.co.za>
In-reply-to
Content
Function definitions usually are cheap, as well as global constants definitions (unless they use complex comprehensions or call heavy functions for initialization). Creating a class is an order or more slower than creating a function. Creating enums and namedtuples is an order or two slower than creating a plain class.
History
Date User Action Args
2018-03-27 09:03:59serhiy.storchakasetrecipients: + serhiy.storchaka, barry, brett.cannon, nascheme
2018-03-27 09:03:59serhiy.storchakasetmessageid: <1522141439.8.0.467229070634.issue33124@psf.upfronthosting.co.za>
2018-03-27 09:03:59serhiy.storchakalinkissue33124 messages
2018-03-27 09:03:59serhiy.storchakacreate