Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

This has also a performance effect.

$ ./python -m perf timeit -s "class A: pass" -s "class B: pass" --duplicate 
1000  "class C(A, B): pass"

Before: Mean +- std dev: 9.41 us +- 0.28 us
After:  Mean +- std dev: 8.94 us +- 0.28 us

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to