[New-bugs-announce] [issue32379] MRO computation could be faster

Antoine Pitrou report at bugs.python.org
Tue Dec 19 14:54:59 EST 2017

New submission from Antoine Pitrou <pitrou at free.fr>:

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list