New submission from Antoine Pitrou <[email protected]>: MRO computation involves a complicated merge calculation over several lists. But, for the simple (common) case where a class has a single base, the computation could be much simpler: take the base's MRO and prepend the derived class.
---------- components: Interpreter Core messages: 308674 nosy: pitrou priority: normal severity: normal status: open title: MRO computation could be faster type: performance versions: Python 3.7 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
