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 corona10
Recipients corona10, gvanrossum, serhiy.storchaka, vstinner
Date 2020-04-23.13:31:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587648695.86.0.862309609154.issue40369@roundup.psfhosted.org>
In-reply-to
Content
> And how much faster has your example become?

For function declaration, 5% enhancement,
the function call does not show difference because the GenericAlias is not big portion on calling.

+--------------------+------------------------+----------------------------+
| Benchmark          | master-generic-alias-1 | bpo-40369-generic-alias-1  |
+====================+========================+============================+
| bench GenericAlias | 420 ns                 | 399 ns: 1.05x faster (-5%) |
+--------------------+------------------------+----------------------------+
History
Date User Action Args
2020-04-23 13:31:35corona10setrecipients: + corona10, gvanrossum, vstinner, serhiy.storchaka
2020-04-23 13:31:35corona10setmessageid: <1587648695.86.0.862309609154.issue40369@roundup.psfhosted.org>
2020-04-23 13:31:35corona10linkissue40369 messages
2020-04-23 13:31:35corona10create