Dong-hee Na <donghee.n...@gmail.com> added the comment:
It shown 1% slower for performance. +--------------------------+-----------------+----------------------------+ | Benchmark | master-subclass | bpo-40077-subclass | +==========================+=================+============================+ | bench _abc_subclasscheck | 295 ns | 300 ns: 1.01x slower (+1%) | +--------------------------+-----------------+----------------------------+ +--------------------------+-------------------+----------------------------+ | Benchmark | master-isinstance | bpo-40077-isinstance | +==========================+===================+============================+ | bench _abc_instancecheck | 229 ns | 232 ns: 1.01x slower (+1%) | +--------------------------+-------------------+----------------------------+ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com