Dong-hee Na <donghee.n...@gmail.com> added the comment:
> 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%) | +--------------------+------------------------+----------------------------+ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com